mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
Fix an error when logging Docker container fail to start
This commit is contained in:
parent
59488e8064
commit
5bb6c51698
@ -361,7 +361,7 @@ class DockerVM(BaseNode):
|
|||||||
try:
|
try:
|
||||||
yield from self._add_ubridge_connection(nio, adapter_number)
|
yield from self._add_ubridge_connection(nio, adapter_number)
|
||||||
except UbridgeNamespaceError:
|
except UbridgeNamespaceError:
|
||||||
log.error("Container {} failed to start", self.name)
|
log.error("Container %s failed to start", self.name)
|
||||||
yield from self.stop()
|
yield from self.stop()
|
||||||
|
|
||||||
# The container can crash soon after the start, this means we can not move the interface to the container namespace
|
# The container can crash soon after the start, this means we can not move the interface to the container namespace
|
||||||
|
Loading…
Reference in New Issue
Block a user