mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
Enforce wfj to ignore canceled jobs.
This commit is contained in:
parent
4e89cc8eb4
commit
aa119e0102
@ -60,6 +60,8 @@ class WorkflowDAG(SimpleDAG):
|
||||
# Job is about to run or is running. Hold our horses and wait for
|
||||
# the job to finish. We can't proceed down the graph path until we
|
||||
# have the job result.
|
||||
elif job.status == 'canceled':
|
||||
continue
|
||||
elif job.status not in ['failed', 'error', 'successful']:
|
||||
return False
|
||||
elif job.status in ['failed', 'error']:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user