Add missing ws separator between words
This is to add missing ws separator between words. Change-Id: If25f019a123ff2a56c8c6709a9f87ecfc4037996
This commit is contained in:
parent
1c16c48b71
commit
7f8c565ddd
|
@ -36,7 +36,7 @@ CONF.register_cli_opts([
|
||||||
'root-filesystem',
|
'root-filesystem',
|
||||||
dest='root_fs',
|
dest='root_fs',
|
||||||
required=False,
|
required=False,
|
||||||
help=_("The filesystem to mount as the root volume on the image. No"
|
help=_("The filesystem to mount as the root volume on the image. No "
|
||||||
"value is required if only one filesystem is detected.")),
|
"value is required if only one filesystem is detected.")),
|
||||||
cfg.BoolOpt(
|
cfg.BoolOpt(
|
||||||
'test-only',
|
'test-only',
|
||||||
|
|
|
@ -37,7 +37,7 @@ health_opts = [
|
||||||
cfg.BoolOpt('verification_enable', default=True,
|
cfg.BoolOpt('verification_enable', default=True,
|
||||||
help="Option to enable verifications for all clusters"),
|
help="Option to enable verifications for all clusters"),
|
||||||
cfg.IntOpt('verification_periodic_interval', default=600,
|
cfg.IntOpt('verification_periodic_interval', default=600,
|
||||||
help="Interval between two consecutive periodic tasks for"
|
help="Interval between two consecutive periodic tasks for "
|
||||||
"verifications, in seconds."),
|
"verifications, in seconds."),
|
||||||
cfg.IntOpt('verification_timeout', default=600,
|
cfg.IntOpt('verification_timeout', default=600,
|
||||||
help="Time limit for health check function, in seconds.")
|
help="Time limit for health check function, in seconds.")
|
||||||
|
|
|
@ -58,7 +58,7 @@ def check_shares(data):
|
||||||
for path in paths:
|
for path in paths:
|
||||||
if not path.startswith('/') or '\x00' in path:
|
if not path.startswith('/') or '\x00' in path:
|
||||||
raise ex.InvalidDataException(
|
raise ex.InvalidDataException(
|
||||||
_('Paths must be absolute Linux paths starting with "/"'
|
_('Paths must be absolute Linux paths starting with "/" '
|
||||||
'and may not contain nulls.'))
|
'and may not contain nulls.'))
|
||||||
|
|
||||||
client = manila.client()
|
client = manila.client()
|
||||||
|
|
|
@ -110,7 +110,7 @@ class TestShareValidations(u.ValidationTestCase):
|
||||||
}],
|
}],
|
||||||
bad_req_i=(
|
bad_req_i=(
|
||||||
1, 'INVALID_DATA',
|
1, 'INVALID_DATA',
|
||||||
'Paths must be absolute Linux paths starting with "/"'
|
'Paths must be absolute Linux paths starting with "/" '
|
||||||
'and may not contain nulls.'))
|
'and may not contain nulls.'))
|
||||||
|
|
||||||
self._assert_create_object_validation(
|
self._assert_create_object_validation(
|
||||||
|
@ -121,7 +121,7 @@ class TestShareValidations(u.ValidationTestCase):
|
||||||
}],
|
}],
|
||||||
bad_req_i=(
|
bad_req_i=(
|
||||||
1, 'INVALID_DATA',
|
1, 'INVALID_DATA',
|
||||||
'Paths must be absolute Linux paths starting with "/"'
|
'Paths must be absolute Linux paths starting with "/" '
|
||||||
'and may not contain nulls.'))
|
'and may not contain nulls.'))
|
||||||
|
|
||||||
self.assertEqual(0, f_client.call_count)
|
self.assertEqual(0, f_client.call_count)
|
||||||
|
|
|
@ -455,7 +455,7 @@ class TestInstanceInteropHelper(base.SaharaTestCase):
|
||||||
instance = FakeInstance('inst13', '123',
|
instance = FakeInstance('inst13', '123',
|
||||||
'10.0.0.13', '10.0.0.13', 'user13', 'key13')
|
'10.0.0.13', '10.0.0.13', 'user13', 'key13')
|
||||||
remote = ssh_remote.InstanceInteropHelper(instance)
|
remote = ssh_remote.InstanceInteropHelper(instance)
|
||||||
description = ('In file "file" replacing line begining with string'
|
description = ('In file "file" replacing line begining with string '
|
||||||
'"str" with "newline"')
|
'"str" with "newline"')
|
||||||
|
|
||||||
remote.replace_remote_line("file", "str", "newline")
|
remote.replace_remote_line("file", "str", "newline")
|
||||||
|
|
|
@ -919,7 +919,7 @@ class InstanceInteropHelper(remote.Remote):
|
||||||
old_line_with_start_string,
|
old_line_with_start_string,
|
||||||
new_line, timeout=None):
|
new_line, timeout=None):
|
||||||
description = _('In file "%(file)s" replacing line'
|
description = _('In file "%(file)s" replacing line'
|
||||||
' begining with string'
|
' begining with string '
|
||||||
'"%(old_line_with_start_string)s"'
|
'"%(old_line_with_start_string)s"'
|
||||||
' with "%(new_line)s"') % {
|
' with "%(new_line)s"') % {
|
||||||
"file": remote_file,
|
"file": remote_file,
|
||||||
|
|
Loading…
Reference in New Issue