|
|
@@ -346,7 +346,7 @@ 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 { |
|
|
|
if len(datasetnameList) <= i || len(datasetname) == 0 { |
|
|
|
continue |
|
|
|
} |
|
|
|
name = datasetnameList[i] |
|
|
|