Fix an error when logging Docker container fail to start

This commit is contained in:
Julien Duponchelle 2017-05-23 13:31:04 +02:00
parent 59488e8064
commit 5bb6c51698
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -361,7 +361,7 @@ class DockerVM(BaseNode):
try:
yield from self._add_ubridge_connection(nio, adapter_number)
except UbridgeNamespaceError:
log.error("Container {} failed to start", self.name)
log.error("Container %s failed to start", self.name)
yield from self.stop()
# The container can crash soon after the start, this means we can not move the interface to the container namespace