|
|
@@ -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) |
|
|
|