Add missing ws seperator between words
This is to add missing ws seperator between words, usually in log messages. Change-Id: I8cda15b923e85a7afd69549e276a9357a55ca494
This commit is contained in:
parent
2f6879a372
commit
43552ddcad
@ -436,7 +436,7 @@ class ContainerAlreadyExists(ResourceExists):
|
|||||||
|
|
||||||
|
|
||||||
class ExecInstanceAlreadyExists(ResourceExists):
|
class ExecInstanceAlreadyExists(ResourceExists):
|
||||||
message = _("An exec instance with exec_id %(exec_id)s already exists"
|
message = _("An exec instance with exec_id %(exec_id)s already exists "
|
||||||
"in container.")
|
"in container.")
|
||||||
|
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ class Manager(periodic_task.PeriodicTasks):
|
|||||||
self.driver.delete_volume(context, volmap)
|
self.driver.delete_volume(context, volmap)
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.exception("Failed to delete volume")
|
LOG.exception("Failed to delete volume")
|
||||||
msg = _("Volumes did not reach available status after"
|
msg = _("Volumes did not reach available status after "
|
||||||
"%d seconds") % (timeout)
|
"%d seconds") % (timeout)
|
||||||
self._fail_container(context, container, msg, unset_host=True)
|
self._fail_container(context, container, msg, unset_host=True)
|
||||||
raise exception.Conflict(msg)
|
raise exception.Conflict(msg)
|
||||||
|
@ -19,7 +19,7 @@ compute_opts = [
|
|||||||
cfg.BoolOpt(
|
cfg.BoolOpt(
|
||||||
'resume_container_state',
|
'resume_container_state',
|
||||||
default=True,
|
default=True,
|
||||||
help='restart the containers which are running'
|
help='restart the containers which are running '
|
||||||
'before the host reboots.'),
|
'before the host reboots.'),
|
||||||
cfg.FloatOpt(
|
cfg.FloatOpt(
|
||||||
'reserve_disk_for_image',
|
'reserve_disk_for_image',
|
||||||
|
@ -170,7 +170,7 @@ class DockerDriver(driver.ContainerDriver):
|
|||||||
try:
|
try:
|
||||||
image_driver.delete_committed_image(context, img_id)
|
image_driver.delete_committed_image(context, img_id)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOG.exception('Unknown exception occurred while'
|
LOG.exception('Unknown exception occurred while '
|
||||||
'deleting image %s: %s',
|
'deleting image %s: %s',
|
||||||
img_id,
|
img_id,
|
||||||
six.text_type(e))
|
six.text_type(e))
|
||||||
@ -1210,8 +1210,8 @@ class DockerDriver(driver.ContainerDriver):
|
|||||||
docker_api=docker)
|
docker_api=docker)
|
||||||
network = requested_network['network']
|
network = requested_network['network']
|
||||||
if network in container.addresses:
|
if network in container.addresses:
|
||||||
raise exception.ZunException('Container %(container)s has'
|
raise exception.ZunException('Container %(container)s has '
|
||||||
' alreay connected to the network'
|
'alreay connected to the network '
|
||||||
'%(network)s.'
|
'%(network)s.'
|
||||||
% {'container': container.uuid,
|
% {'container': container.uuid,
|
||||||
'network': network})
|
'network': network})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user