mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Fix a corner case where a job failure could kill the task manager
because the job failure couldn't grab some extra info for the socketio service Fixes: https://trello.com/c/XdjJEhJ0/68-socketio-trackebac
This commit is contained in:
parent
57443141c9
commit
8d423cf82e
@ -993,6 +993,7 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions):
|
||||
def socketio_emit_data(self):
|
||||
if self.inventory_source.group is not None:
|
||||
return dict(group_id=self.inventory_source.group.id)
|
||||
return {}
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
update_fields = kwargs.get('update_fields', [])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user