From d4a81cd92134d88434626d013eba78ef630d0a94 Mon Sep 17 00:00:00 2001 From: zouap Date: Sun, 9 Oct 2022 14:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/aisafety.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routers/repo/aisafety.go b/routers/repo/aisafety.go index 96c1b9b61..dbfb32e26 100644 --- a/routers/repo/aisafety.go +++ b/routers/repo/aisafety.go @@ -225,8 +225,11 @@ func TimerHandleModelSafetyTestTask() { } func queryTaskStatusFromGrampus(task *models.Cloudbrain) { + log.Info("The task not finished,name=" + task.DisplayJobName) if task.DeletedAt.IsZero() { //normal record result, err := grampus.GetJob(task.JobID) + resultJson, _ := json.Marshal(result) + log.Info("resultJson=" + string(resultJson)) if err != nil { log.Error("GetJob failed:" + err.Error()) return