fix(测试跟踪): 转存MinIO文件报错

--bug=1025779 --user=宋昌昌 【测试跟踪】缺陷管理-创建的jira平台缺陷附件中上传了本地文件后,转存到文件管理失败 https://www.tapd.cn/55049933/s/1367783
This commit is contained in:
song-cc-rock 2023-04-28 10:19:14 +08:00 committed by fit2-zhao
parent 785408f677
commit 9c19b85e97
1 changed files with 0 additions and 1 deletions

View File

@ -35,7 +35,6 @@ public class MinIOFileRepository implements FileRepository {
.bucket(bucket) // 存储桶
.object(fileName) // 文件名
.stream(file.getInputStream(), file.getSize(), -1) // 文件内容
.contentType(file.getContentType()) // 文件类型
.build());
return String.format("%s/%s/%s", minioProperties.getEndpoint(), bucket, fileName);
}