Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1036/head
zouap 3 years ago
parent
commit
56dc817cc0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/storage/obs.go

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

@@ -322,6 +322,7 @@ func GetObsListObjectByBucketAndPrefix(bucket string, prefix string, parentDir s
if err == nil {
for _, val := range output.Contents {
str1 := strings.Split(val.Key, "/")
log.Info("val.Key=" + val.Key)
var isDir bool
var fileName, nextParentDir string
if strings.HasSuffix(val.Key, "/") {


Loading…
Cancel
Save