mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Move schemas between compute and controller subpackages
This commit is contained in:
1 parent
c59fc375f2
commit
9c850e0f2b
57 files changed
+332
-214
No files matched your search
@@ -353,6 +353,7 @@ class Controller:
|
||||
self._computes[compute.id] = compute
|
||||
# self.save()
|
||||
if connect:
|
||||
# call compute.connect() later to give time to the controller to be fully started
|
||||
asyncio.get_event_loop().call_later(1, lambda: asyncio.ensure_future(compute.connect()))
|
||||
self.notification.controller_emit("compute.created", compute.__json__())
|
||||
return compute
|
||||
|
||||
Reference in new issue
Block a user