Browse Source

Merge pull request '继续解决Bug' (#2828) from zouap_static into V20220830

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

+ 3
- 0
routers/repo/modelarts.go View File

@@ -346,6 +346,9 @@ func GetCloudBrainDataSetInfo(uuid string, datasetname string, isNeedDown bool)
attachment, err := models.GetAttachmentByUUID(uuidStr)
if err != nil {
log.Error("GetAttachmentByUUID failed:%v", err.Error())
if len(datasetnameList) <= i {
continue
}
name = datasetnameList[i]
isDelete = true
} else {


Loading…
Cancel
Save