mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Correctly process node.updated event on controller
This commit is contained in:
9 files changed
+118
-33
No files matched your search
@@ -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