Browse Source

提交测试代码。

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

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

@@ -292,6 +292,7 @@ func GetObsListObject(jobName, parentDir string) ([]FileInfo, error) {
str1 := strings.Split(val.Key, "/")
var isDir bool
var fileName, nextParentDir string
log.Info("val.Key=" + val.Key)
if strings.HasSuffix(val.Key, "/") {
fileName = str1[len(str1)-2]
isDir = true


Loading…
Cancel
Save