]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Change Fail to Failed in error messages
authorDavid Rosales <darosale@us.ibm.com>
Wed, 24 Feb 2016 19:56:16 +0000 (13:56 -0600)
committerDavid Rosales <darosale@us.ibm.com>
Fri, 26 Feb 2016 16:45:24 +0000 (10:45 -0600)
To maintain proper error messaging, this fix changes the usage of
'Fail' to 'Failed' in two separate error messages. This change will
make these error messages consistent with other messaging.

Closes-Bug: #1549453
Change-Id: I961d341ce61eaceb062e9c0318d1c7b32e4d5263

cinder/volume/drivers/ibm/storwize_svc/replication.py

index de1aacc02ccdd528c594a8b8c5cd6f527c7bd18c..879c7028db02773b934970646a802e51b23571d3 100644 (file)
@@ -357,7 +357,7 @@ class StorwizeSVCReplicationGlobalMirror(
         try:
             rel_info = self.driver._helpers.get_relationship_info(vref)
         except Exception as e:
-            msg = (_('Fail to get remote copy information for %(volume)s '
+            msg = (_('Failed to get remote copy information for %(volume)s '
                      'due to %(err)s.'), {'volume': vref['id'], 'err': e})
             LOG.error(msg)
             raise exception.VolumeDriverException(data=msg)
@@ -379,7 +379,7 @@ class StorwizeSVCReplicationGlobalMirror(
         try:
             rel_info = self.driver._helpers.get_relationship_info(vref)
         except Exception as e:
-            msg = (_('Fail to get remote copy information for %(volume)s '
+            msg = (_('Failed to get remote copy information for %(volume)s '
                      'due to %(err)s'), {'volume': vref['id'], 'err': e})
             LOG.error(msg)
             raise exception.VolumeDriverException(message=msg)