Browse Source

Merge branch 'train-job' of https://git.openi.org.cn/OpenI/aiforge into train-job

pull/625/head
Gitea 4 years ago
parent
commit
cdc0c97560
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      routers/api/v1/repo/modelarts.go

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

@@ -81,6 +81,8 @@ func TrainJobGetLog(ctx *context.APIContext) {
err error
)

log.Info("test")

var jobID = ctx.Params(":jobid")
var logFileName = ctx.Query("file_name")
var baseLine = ctx.Query("base_line")
@@ -117,5 +119,6 @@ func TrainJobGetLog(ctx *context.APIContext) {
"StartLine": result.StartLine,
"EndLine": result.EndLine,
"Content": result.Content,
"Lines": result.Lines,
})
}

Loading…
Cancel
Save