From 93020a940f1a326a87d0a3106bb775484d2b86f1 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 16 Feb 2016 17:36:32 +0100 Subject: [PATCH] Fix Docker Server error: Not connected when deleting a node Fix #430 --- gns3server/modules/docker/docker_vm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gns3server/modules/docker/docker_vm.py b/gns3server/modules/docker/docker_vm.py index 427773ad..a32e62ec 100644 --- a/gns3server/modules/docker/docker_vm.py +++ b/gns3server/modules/docker/docker_vm.py @@ -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(