🐛 Fixing a bug. summary oss file set error

This commit is contained in:
lbw committed 2024-02-24 17:38:21 +08:00
1 parent eaed181aa9
commit a52e73f23d
1 file changed
+1 -1
@@ -164,7 +164,7 @@ public class LocalFileTemplate implements FileTemplate {
return Arrays.stream(FileUtil.ls(dir)).filter(file -> file.getName().startsWith(prefix)).map(file -> {
S3ObjectSummary summary = new S3ObjectSummary();
summary.setKey(file.getName());
return new S3ObjectSummary();
return summary;
}).collect(Collectors.toList());
}