mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02:30
Make websocket events more informative
* Make sure we always populate workflow information when relevant to job status changes. * Include detail about workflow job node
This commit is contained in:
@@ -435,7 +435,9 @@ class ProjectUpdate(UnifiedJob, ProjectOptions, JobNotificationMixin):
|
||||
return False
|
||||
|
||||
def websocket_emit_data(self):
|
||||
return dict(project_id=self.project.id)
|
||||
websocket_data = super(ProjectUpdate, self).websocket_emit_data()
|
||||
websocket_data.update(dict(project_id=self.project.id))
|
||||
return websocket_data
|
||||
|
||||
@property
|
||||
def task_impact(self):
|
||||
|
||||
Reference in New Issue
Block a user