Browse Source

解决GPU模型管理带多级目录显示问题。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.2
zouap 3 years ago
parent
commit
52eac4422d
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      modules/storage/minio_ext.go

+ 0
- 3
modules/storage/minio_ext.go View File

@@ -187,9 +187,6 @@ func GetOneLevelAllObjectUnderDirMinio(bucket string, prefixRootPath string, rel
if val.Key == Prefix {
continue
}
if strings.Contains(val.Key[prefixLen:len(val.Key)-1], "/") {
continue
}
if strings.HasSuffix(val.Key, "/") {
isDir = true
fileName = val.Key[prefixLen : len(val.Key)-1]


Loading…
Cancel
Save