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__())
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]