Fix a bug of task completed
This commit is contained in:
parent
10e000df8b
commit
a5257eb025
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue