[FIX] add task exec defaulet status

This commit is contained in:
goodrain 2017-12-08 18:22:07 +08:00
parent a7b98b4902
commit f18393ff26

View File

@ -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 {