mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 17:28:51 -03:30
Fix taskmanager failing to launch workflow job
This was caused by taskmanager instance group refactoring. This re-enables that functionality
This commit is contained in:
@@ -383,6 +383,8 @@ 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 isinstance(task, WorkflowJob):
|
||||
continue
|
||||
if task.status != 'running':
|
||||
continue
|
||||
task.status = 'failed'
|
||||
|
||||
Reference in New Issue
Block a user