mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Merge pull request #12706 from ansible/revert-12692-mop_up
Revert "Fix errors in websocket code due to missing template"
This commit is contained in:
@@ -1289,8 +1289,7 @@ class UnifiedJob(
|
|||||||
|
|
||||||
if self.spawned_by_workflow:
|
if self.spawned_by_workflow:
|
||||||
status_data['group_name'] = "workflow_events"
|
status_data['group_name'] = "workflow_events"
|
||||||
if self.workflow_job:
|
status_data['workflow_job_template_id'] = self.unified_job_template.id
|
||||||
status_data['workflow_job_template_id'] = self.workflow_job.workflow_job_template_id
|
|
||||||
emit_channel_notification('workflow_events-' + str(self.workflow_job_id), status_data)
|
emit_channel_notification('workflow_events-' + str(self.workflow_job_id), status_data)
|
||||||
except IOError: # includes socket errors
|
except IOError: # includes socket errors
|
||||||
logger.exception('%s failed to emit channel msg about status change', self.log_format)
|
logger.exception('%s failed to emit channel msg about status change', self.log_format)
|
||||||
|
|||||||
Reference in New Issue
Block a user