Browse Source

fix issue

tags/v1.22.11.1^2
zhoupzh 3 years ago
parent
commit
facf5478e4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      routers/api/v1/repo/cloudbrain.go

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

@@ -573,10 +573,10 @@ func CloudbrainGetLog(ctx *context.APIContext) {
}
}
}
else{
if startLine > 0 {
else {
if startLine>0 {
startLine += 1
endLine += 1
endLine += 1
}
}
result = getLogFromModelDir(job.JobName, startLine, endLine, resultPath)


Loading…
Cancel
Save