1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Minor code cleanup

This commit is contained in:
Julien Duponchelle 2016-03-25 15:27:31 +01:00
parent 2a20333877
commit 5345fe8490
No known key found for this signature in database
GPG Key ID: F1E2485547D4595D

View File

@ -555,10 +555,10 @@ class DockerVM(BaseVM):
if not self._ubridge_hypervisor or not self._ubridge_hypervisor.is_running():
return
adapter = self._ethernet_adapters[adapter_number]
yield from self._ubridge_hypervisor.send("bridge delete bridge{name}".format(
name=adapter_number))
adapter = self._ethernet_adapters[adapter_number]
yield from self._ubridge_hypervisor.send('docker delete_veth {hostif}'.format(hostif=adapter.host_ifc))
@asyncio.coroutine