|
@@ -27,7 +27,7 @@ public class AlgorithmApplicationService {
|
|
|
|
|
|
String[] split = minioPath.split("\\.");
|
|
|
int length = split.length;
|
|
|
- String s = split[length - 1];
|
|
|
+ String s = split[length - 1]; //todo 必须是.tar文件,.tar.gz会报错
|
|
|
|
|
|
//1 根据 minio 路径获取输入流
|
|
|
InputStream inputStream = MinioUtil.downloadToStream(minioClient, bucketName, minioPath);
|