mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02:30
converting from socketio to channels websocket
This commit is contained in:
@@ -1223,7 +1223,7 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions, JobNotificationMixin):
|
||||
from awx.main.tasks import RunInventoryUpdate
|
||||
return RunInventoryUpdate
|
||||
|
||||
def socketio_emit_data(self):
|
||||
def websocket_emit_data(self):
|
||||
if self.inventory_source.group is not None:
|
||||
return dict(group_id=self.inventory_source.group.id)
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user