From 56eac97fd96668a99a2ce35a0ace2f4a7f06f303 Mon Sep 17 00:00:00 2001 From: David Rosales Date: Wed, 24 Feb 2016 13:56:16 -0600 Subject: [PATCH] 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 --- cinder/volume/drivers/ibm/storwize_svc/replication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/volume/drivers/ibm/storwize_svc/replication.py b/cinder/volume/drivers/ibm/storwize_svc/replication.py index de1aacc02cc..879c7028db0 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)