Browse Source

apdate aicenter

tags/v1.22.11.1^2
liuzx 3 years ago
parent
commit
13b73c22e2
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      routers/api/v1/repo/modelarts.go

+ 1
- 4
routers/api/v1/repo/modelarts.go View File

@@ -178,10 +178,7 @@ func GetModelArtsTrainJobVersion(ctx *context.APIContext) {
} }
} }
} else { } else {
temp := strings.Split(job.AiCenter, "+")
if len(temp) > 1 {
aiCenterName = temp[1]
}
aiCenterName = cloudbrainService.GetAiCenterShow(job.AiCenter, ctx.Context)
} }
if oldStatus != job.Status { if oldStatus != job.Status {
notification.NotifyChangeCloudbrainStatus(job, oldStatus) notification.NotifyChangeCloudbrainStatus(job, oldStatus)


Loading…
Cancel
Save