|
@@ -112,8 +112,6 @@ func TrainJobGetLog(ctx *context.APIContext) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
ctx.Data["log"] = result |
|
|
|
|
|
|
|
|
|
|
|
ctx.JSON(http.StatusOK, map[string]interface{}{ |
|
|
ctx.JSON(http.StatusOK, map[string]interface{}{ |
|
|
"JobID": jobID, |
|
|
"JobID": jobID, |
|
|
"StartLine": result.StartLine, |
|
|
"StartLine": result.StartLine, |
|
|