Browse Source

Merge pull request '修复#2304问题' (#2309) from fix-2304 into V20220616

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/2309
Reviewed-by: ychao_1983 <ychao_1983@sina.com>
tags/v1.22.6.1^2
ychao_1983 3 years ago
parent
commit
9226e790d4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/modelarts.go

+ 1
- 1
routers/repo/modelarts.go View File

@@ -1407,7 +1407,7 @@ func readDir(dirname string) ([]os.FileInfo, error) {
return nil, err
}

list, err := f.Readdir(100)
list, err := f.Readdir(0)
f.Close()
if err != nil {
//todo: can not upload empty folder


Loading…
Cancel
Save