Browse Source

Merge pull request '解决云脑任务删除后页面返回慢的问题' (#1237) from fix-1232 into V20211228.patch

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1237
Reviewed-by: ychao_1983 <ychao_1983@sina.com>
pull/1242/head
ychao_1983 3 years ago
parent
commit
b44dd503a5
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      modules/storage/minio.go

+ 1
- 3
modules/storage/minio.go View File

@@ -95,9 +95,7 @@ func (m *MinioStorage) DeleteDir(dir string) error {
}
}()

for rErr := range m.client.RemoveObjects(m.bucket, objectsCh) {
log.Error("Error detected during deletion: ", rErr)
}
m.client.RemoveObjects(m.bucket, objectsCh)

return nil
}


Loading…
Cancel
Save