From: David Rosales Date: Wed, 24 Feb 2016 19:56:16 +0000 (-0600) Subject: Change Fail to Failed in error messages X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=56eac97fd96668a99a2ce35a0ace2f4a7f06f303;p=openstack-build%2Fcinder-build.git Change Fail to Failed in error messages 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 --- diff --git a/cinder/volume/drivers/ibm/storwize_svc/replication.py b/cinder/volume/drivers/ibm/storwize_svc/replication.py index de1aacc02..879c7028d 100644 --- a/cinder/volume/drivers/ibm/storwize_svc/replication.py +++ b/cinder/volume/drivers/ibm/storwize_svc/replication.py @@ -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)