Browse Source

fix-bug

tags/V1.22.3.1^2
liuzx 4 years ago
parent
commit
f00fc21132
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      routers/api/v1/repo/modelarts.go

+ 0
- 2
routers/api/v1/repo/modelarts.go View File

@@ -152,7 +152,6 @@ func GetModelArtsTrainJobVersion(ctx *context.APIContext) {

ctx.JSON(http.StatusOK, map[string]interface{}{
"JobID": jobID,
"ID": job.ID,
"JobStatus": job.Status,
"JobDuration": job.TrainJobDuration,
})
@@ -386,7 +385,6 @@ func GetModelArtsInferenceJob(ctx *context.APIContext) {

ctx.JSON(http.StatusOK, map[string]interface{}{
"JobID": jobID,
"ID": job.ID,
"JobStatus": job.Status,
"JobDuration": job.TrainJobDuration,
})


Loading…
Cancel
Save