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
This commit is contained in:
David Rosales 2016-02-24 13:56:16 -06:00
parent 8ed2d59395
commit 56eac97fd9
1 changed files with 2 additions and 2 deletions

View 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)