Fix Deleting running telnet docker VM shows error in log

Fix #662
pull/726/head
Julien Duponchelle 8 years ago
parent a7be4681d5
commit f0edf799b7
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -530,7 +530,11 @@ class DockerVM(BaseVM):
if self._ubridge_hypervisor and self._ubridge_hypervisor.is_running():
yield from self._ubridge_hypervisor.stop()
state = yield from self._get_container_state()
try:
state = yield from self._get_container_state()
except DockerHttp404Error:
state = "stopped"
if state == "paused":
yield from self.unpause()

Loading…
Cancel
Save