1
0
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:
Julien Duponchelle 2016-08-29 18:58:49 +02:00
parent 36d2e80d0a
commit 96f3cb0445
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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]