mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 12:57:56 +00:00
parent
a7be4681d5
commit
f0edf799b7
@ -530,7 +530,11 @@ class DockerVM(BaseVM):
|
|||||||
if self._ubridge_hypervisor and self._ubridge_hypervisor.is_running():
|
if self._ubridge_hypervisor and self._ubridge_hypervisor.is_running():
|
||||||
yield from self._ubridge_hypervisor.stop()
|
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":
|
if state == "paused":
|
||||||
yield from self.unpause()
|
yield from self.unpause()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user