mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-30 03:41:50 -05:00
Fix up an issue passing the callback port, which isn't strictly
necessary... if provided it causes a crash that corrupts the shell
This commit is contained in:
@@ -729,9 +729,10 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
|
||||
task_type = get_type_for_model(self)
|
||||
|
||||
# Actually tell the task runner to run this task.
|
||||
from awx.main.tasks import notify_task_runner
|
||||
notify_task_runner.delay({'id': self.id, 'metadata': kwargs,
|
||||
'task_type': task_type})
|
||||
# NOTE: This will deadlock the task runner
|
||||
#from awx.main.tasks import notify_task_runner
|
||||
#notify_task_runner.delay({'id': self.id, 'metadata': kwargs,
|
||||
# 'task_type': task_type})
|
||||
|
||||
# Done!
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user