bug fix error oss file set

Signed-off-by: lbw <wangiegie@163.com>
This commit is contained in:
lbw 2024-01-17 08:18:33 +00:00 committed by Gitee
parent 108730533a
commit cd7380a932
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -132,7 +132,7 @@ public class LocalFileTemplate implements FileTemplate {
return Arrays.stream(FileUtil.ls(dir)).filter(file -> file.getName().startsWith(prefix)).map(file -> { return Arrays.stream(FileUtil.ls(dir)).filter(file -> file.getName().startsWith(prefix)).map(file -> {
S3ObjectSummary summary = new S3ObjectSummary(); S3ObjectSummary summary = new S3ObjectSummary();
summary.setKey(file.getName()); summary.setKey(file.getName());
return new S3ObjectSummary(); return summary;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
} }