From a24371a79175459ef3cfdcd5ad69f08501dadfe3 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 27 Oct 2022 16:50:47 +0800 Subject: [PATCH] fix issue --- routers/api/v1/repo/cloudbrain.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routers/api/v1/repo/cloudbrain.go b/routers/api/v1/repo/cloudbrain.go index a15683e16..17de648e5 100755 --- a/routers/api/v1/repo/cloudbrain.go +++ b/routers/api/v1/repo/cloudbrain.go @@ -743,8 +743,9 @@ func getLogFromModelDir(jobName string, startLine int, endLine int, resultPath s count++ } } + fileEndLine = fileEndLine + 1 } - fileEndLine = fileEndLine + 1 + } else { log.Info("error:" + err.Error()) }