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 ...@@ -583,14 +583,15 @@ func (t *TaskHandler) checkLastTaskExecStatus(taskMsg *nodeManagerV1.PushTaskMes
break break
} }
value, ok := t.ExecTaskIdIsSuccess.Load(oldTaskId) 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 { 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 continue
} }
isSuccess := value.(bool) isSuccess := value.(bool)
if isSuccess { if isSuccess {
oldTaskId = taskMsg.TaskId oldTaskId = taskMsg.TaskId
log.WithField("taskId", oldTaskId).Info("Task exec success")
break 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