mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-30 17:46:59 +00:00
Try to fix error when listing Hyper-V VMs. Ref #1755
This commit is contained in:
parent
7002b026fc
commit
da85d7b827
@ -179,7 +179,7 @@ class HyperVGNS3VM(BaseGNS3VM):
|
|||||||
List all Hyper-V VMs
|
List all Hyper-V VMs
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if self._conn is None:
|
if self._conn is None or self._management is None:
|
||||||
self._connect()
|
self._connect()
|
||||||
|
|
||||||
vms = []
|
vms = []
|
||||||
|
Loading…
Reference in New Issue
Block a user