mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Support for link event, fix link not correctly deleted
This commit is contained in:
12 files changed
+92
-32
No files matched your search
@@ -151,7 +151,7 @@ class Controller:
|
||||
:param kwargs: See the documentation of Project
|
||||
"""
|
||||
if project_id not in self._projects:
|
||||
project = Project(project_id=project_id, **kwargs)
|
||||
project = Project(project_id=project_id, controller=self, **kwargs)
|
||||
self._projects[project.id] = project
|
||||
for compute_server in self._computes.values():
|
||||
yield from project.add_compute(compute_server)
|
||||
|
||||
Reference in new issue
Block a user