]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add missing space to logged error in create volume
authorEric Harney <eharney@redhat.com>
Fri, 21 Aug 2015 21:23:20 +0000 (17:23 -0400)
committerEric Harney <eharney@redhat.com>
Fri, 21 Aug 2015 21:23:20 +0000 (17:23 -0400)
Currently this reads:
  Originating source volume status must
  be one of'available, in-use' values

Change-Id: I5c387ff83670672e882ee7f155edceb4d8a8a7f8

cinder/volume/flows/api/create_volume.py

index a587034260a4bd7dd074e064ce8505cd9cb84bd9..c2e2481c882eeb09d99042fcfc96ba0ff8ce761a 100644 (file)
@@ -93,7 +93,7 @@ class ExtractVolumeRequestTask(flow_utils.CinderTask):
         if resource:
             for prop, allowed_states in zip(props, allowed_vals):
                 if resource[prop] not in allowed_states:
-                    msg = _("Originating %(res)s %(prop)s must be one of"
+                    msg = _("Originating %(res)s %(prop)s must be one of "
                             "'%(vals)s' values")
                     msg = msg % {'res': resource_name,
                                  'prop': prop,