Browse Source

add get-log api

tags/v1.21.12.1
lewis 5 years ago
parent
commit
b10833c39a
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

@@ -112,8 +112,6 @@ func TrainJobGetLog(ctx *context.APIContext) {
return
}

ctx.Data["log"] = result

ctx.JSON(http.StatusOK, map[string]interface{}{
"JobID": jobID,
"StartLine": result.StartLine,


Loading…
Cancel
Save