mirror of
https://github.com/GNS3/gns3-server
synced 2025-02-24 05:52:17 +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.
|
Starts the GNS3 VM.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if not self.vmname:
|
||||||
|
return
|
||||||
vm_compute = None
|
vm_compute = None
|
||||||
for compute in self._controller.computes.values():
|
for compute in self._controller.computes.values():
|
||||||
if compute.name == self.vmname:
|
if compute.name == self.vmname:
|
||||||
|
Loading…
Reference in New Issue
Block a user