mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
fix check running status
This commit is contained in:
@@ -373,7 +373,7 @@ class TaskManager():
|
|||||||
# list of task id's from celery and now.
|
# list of task id's from celery and now.
|
||||||
# Note: This is an actual fix, not a reduction in the time
|
# Note: This is an actual fix, not a reduction in the time
|
||||||
# window that this can happen.
|
# window that this can happen.
|
||||||
if task_obj.status is not 'running':
|
if task_obj.status != 'running':
|
||||||
continue
|
continue
|
||||||
task_obj.status = 'failed'
|
task_obj.status = 'failed'
|
||||||
task_obj.job_explanation += ' '.join((
|
task_obj.job_explanation += ' '.join((
|
||||||
|
|||||||
Reference in New Issue
Block a user