Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.21.12.1^2
zouap 4 years ago
parent
commit
26ff403ae8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/storage/obs.go

+ 1
- 1
modules/storage/obs.go View File

@@ -342,7 +342,7 @@ func GetAllObjectByBucketAndPrefix(bucket string, prefix string) ([]FileInfo, er
for _, val := range output.Contents {
var isDir bool
log.Info("val.key=" + val.Key)
if val.Key == prefix {
if prefixLen == len(val.Key) {
continue
}



Loading…
Cancel
Save