Browse Source

Merge pull request '解决GPU模型管理带多级目录显示问题。' (#2556) from zouap_fix into V20220718.patch

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/2556
tags/v1.22.7.2
lewis 3 years ago
parent
commit
c3e30689dc
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