mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-22 06:07:51 +00:00
Do not raise an error if no VM is selected for remote GNS3 VM
This commit is contained in:
parent
47c58bb400
commit
3c0bdd12b5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user