Reconnect to compute after compute update

This commit is contained in:
Julien Duponchelle committed 2016-08-29 18:58:49 +02:00
1 parent 36d2e80d0a
commit 96f3cb0445
1 file changed
+1
+1
View File
@@ -234,6 +234,7 @@ class Controller:
self.notification.emit("compute.created", compute.__json__())
return compute
else:
yield from self._computes[compute_id].connect()
self.notification.emit("compute.updated", self._computes[compute_id].__json__())
return self._computes[compute_id]