Commit 040065d7 authored by duanjinfei's avatar duanjinfei

del task exec staus log

parent 5ac9e2e0
......@@ -583,14 +583,15 @@ func (t *TaskHandler) checkLastTaskExecStatus(taskMsg *nodeManagerV1.PushTaskMes
break
}
value, ok := t.ExecTaskIdIsSuccess.Load(oldTaskId)
log.WithField("isSuccess", value).Info("Task id exec info")
//log.WithField("isSuccess", value).Info("Task id exec info")
if !ok {
log.WithField("task id", oldTaskId).Warn("task exec is not finished")
//log.WithField("task id", oldTaskId).Warn("task exec is not finished")
continue
}
isSuccess := value.(bool)
if isSuccess {
oldTaskId = taskMsg.TaskId
log.WithField("taskId", oldTaskId).Info("Task exec success")
break
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment