mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
Reconnect to compute after compute update
This commit is contained in:
parent
36d2e80d0a
commit
96f3cb0445
@ -234,6 +234,7 @@ class Controller:
|
|||||||
self.notification.emit("compute.created", compute.__json__())
|
self.notification.emit("compute.created", compute.__json__())
|
||||||
return compute
|
return compute
|
||||||
else:
|
else:
|
||||||
|
yield from self._computes[compute_id].connect()
|
||||||
self.notification.emit("compute.updated", self._computes[compute_id].__json__())
|
self.notification.emit("compute.updated", self._computes[compute_id].__json__())
|
||||||
return self._computes[compute_id]
|
return self._computes[compute_id]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user