From f18393ff26dd0536d8fd70f48de85635bb02d561 Mon Sep 17 00:00:00 2001 From: goodrain Date: Fri, 8 Dec 2017 18:22:07 +0800 Subject: [PATCH] [FIX] add task exec defaulet status --- pkg/node/masterserver/task_engine.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/node/masterserver/task_engine.go b/pkg/node/masterserver/task_engine.go index ea1761922..bf8bb2d58 100644 --- a/pkg/node/masterserver/task_engine.go +++ b/pkg/node/masterserver/task_engine.go @@ -512,6 +512,7 @@ func (t *TaskEngine) handleJobRecord(er *job.ExecutionRecord) { JobID: er.JobID, StartTime: er.BeginTime, EndTime: er.EndTime, + Status: "complete", CompleStatus: "Failure", } if status, ok := task.Status[er.Node]; ok {