mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Merge pull request #5528 from chrismeyersfsu/fix-rectifier
fix check running status
This commit is contained in:
commit
1b069a5cd1
@ -373,7 +373,7 @@ class TaskManager():
|
||||
# list of task id's from celery and now.
|
||||
# Note: This is an actual fix, not a reduction in the time
|
||||
# window that this can happen.
|
||||
if task_obj.status is not 'running':
|
||||
if task_obj.status != 'running':
|
||||
continue
|
||||
task_obj.status = 'failed'
|
||||
task_obj.job_explanation += ' '.join((
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user