1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00

Fix Docker Server error: Not connected when deleting a node

Fix #430
This commit is contained in:
Julien Duponchelle 2016-02-16 17:36:32 +01:00
parent c2b78400f2
commit 93020a940f
No known key found for this signature in database
GPG Key ID: F1E2485547D4595D

View File

@ -498,7 +498,8 @@ class DockerVM(BaseVM):
name=self.name, adapter_number=adapter_number))
adapter.remove_nio(0)
yield from self._delete_ubridge_connection(adapter_number)
if not self._ubridge_hypervisor:
yield from self._delete_ubridge_connection(adapter_number)
log.info(
"Docker VM '{name}' [{id}]: {nio} removed from adapter {adapter_number}".format(