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:
parent
8ed2d59395
commit
56eac97fd9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user