Merge "Delete extra space"

This commit is contained in:
Jenkins
2016-06-30 04:00:21 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -819,7 +819,7 @@ class ShellTest(testtools.TestCase):
sh.do_cluster_resize,
service, args)
msg = _('Cluster capacity must be larger than '
' or equal to zero.')
'or equal to zero.')
self.assertEqual(msg, six.text_type(ex))
# adjustment

View File

@@ -659,7 +659,7 @@ def do_cluster_resize(service, args):
if capacity is not None:
if capacity < 0:
raise exc.CommandError(_('Cluster capacity must be larger than '
' or equal to zero.'))
'or equal to zero.'))
action_args['adjustment_type'] = 'EXACT_CAPACITY'
action_args['number'] = capacity