1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-12 17:10:55 +00:00

Fix Docker error when deleting a running container

Fix #431
This commit is contained in:
Julien Duponchelle 2016-02-16 17:42:35 +01:00
parent 93020a940f
commit 836023a1bc
No known key found for this signature in database
GPG Key ID: F1E2485547D4595D

View File

@ -452,7 +452,7 @@ class DockerVM(BaseVM):
name=adapter_number))
adapter = self._ethernet_adapters[adapter_number]
yield from self._ubridge_hypervisor.send('docker delete_veth {hostif} {guestif}'.format(guestif=adapter.guest_ifc, hostif=adapter.host_ifc))
yield from self._ubridge_hypervisor.send('docker delete_veth {hostif}'.format(hostif=adapter.host_ifc))
@asyncio.coroutine
def _get_namespace(self):