mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-15 22:08:17 +00:00
Correctly process node.updated event on controller
This commit is contained in:
@ -196,7 +196,7 @@ class Compute:
|
||||
msg = json.loads(response.data)
|
||||
action = msg.pop("action")
|
||||
event = msg.pop("event")
|
||||
self._controller.notification.emit(action, event, compute_id=self.id, **msg)
|
||||
self._controller.notification.dispatch(action, event, compute_id=self.id)
|
||||
|
||||
def _getUrl(self, path):
|
||||
return "{}://{}:{}/v2/compute{}".format(self._protocol, self._host, self._port, path)
|
||||
|
Reference in New Issue
Block a user