mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
Do not raise an error if no VM is selected for remote GNS3 VM
This commit is contained in:
1 file changed
+2
@@ -51,6 +51,8 @@ class RemoteGNS3VM(BaseGNS3VM):
|
||||
Starts the GNS3 VM.
|
||||
"""
|
||||
|
||||
if not self.vmname:
|
||||
return
|
||||
vm_compute = None
|
||||
for compute in self._controller.computes.values():
|
||||
if compute.name == self.vmname:
|
||||
|
||||
Reference in new issue
Block a user