mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
Include proper invocation for non-job tasks with error callback
This commit is contained in:
@@ -183,7 +183,7 @@ def process_graph(graph, task_capacity):
|
||||
if impact <= remaining_volume or running_impact == 0:
|
||||
dependent_nodes = [{'type': graph.get_node_type(n), 'id': n.id} for n in graph.get_dependents()]
|
||||
error_handler = handle_work_error.s(subtasks=dependent_nodes)
|
||||
node_obj.start(error_callback=error_handler)
|
||||
start_status = node_obj.start(error_callback=error_handler)
|
||||
remaining_volume -= impact
|
||||
running_impact += impact
|
||||
|
||||
|
||||
Reference in New Issue
Block a user