mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
Assure that unit_id is always defined (#9180)
This commit is contained in:
committed by
Shane McDonald
parent
c7e0e30f93
commit
8f66793276
@@ -3032,6 +3032,7 @@ class AWXReceptorJob:
|
||||
def __init__(self, task, runner_params):
|
||||
self.task = task
|
||||
self.runner_params = runner_params
|
||||
self.unit_id = None
|
||||
|
||||
if not self.task.instance.is_container_group_task:
|
||||
execution_environment_params = self.task.build_execution_environment_params(self.task.instance)
|
||||
|
||||
Reference in New Issue
Block a user