From a5257eb025cd7da7c391f93265a1e950879e1439 Mon Sep 17 00:00:00 2001 From: zhuyj17 Date: Sat, 6 Apr 2019 11:37:50 +0800 Subject: [PATCH] Fix a bug of task completed --- src/master/taskmgr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/master/taskmgr.py b/src/master/taskmgr.py index 1e501a0..99b1fc8 100644 --- a/src/master/taskmgr.py +++ b/src/master/taskmgr.py @@ -515,6 +515,7 @@ class TaskMgr(threading.Thread): task.status = FAILED task.failed_reason = report.errmsg elif report.subTaskStatus == COMPLETED: + sub_task.status = report.subTaskStatus self.clear_sub_task(sub_task) # return task, workers