Skip to content

Commit

Permalink
Merge pull request ansible#12706 from ansible/revert-12692-mop_up
Browse files Browse the repository at this point in the history
Revert "Fix errors in websocket code due to missing template"
  • Loading branch information
Zokormazo authored Aug 22, 2022
2 parents 2357e24 + edc3da8 commit db2649d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions awx/main/models/unified_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1289,8 +1289,7 @@ def _websocket_emit_status(self, status):

if self.spawned_by_workflow:
status_data['group_name'] = "workflow_events"
if self.workflow_job:
status_data['workflow_job_template_id'] = self.workflow_job.workflow_job_template_id
status_data['workflow_job_template_id'] = self.unified_job_template.id
emit_channel_notification('workflow_events-' + str(self.workflow_job_id), status_data)
except IOError: # includes socket errors
logger.exception('%s failed to emit channel msg about status change', self.log_format)
Expand Down

0 comments on commit db2649d

Please sign in to comment.