1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-15 12:59:06 +00:00

Fix Deleting running telnet docker VM shows error in log

Fix #662
This commit is contained in:
Julien Duponchelle 2016-09-07 14:24:56 +02:00
parent a7be4681d5
commit f0edf799b7
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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()