Merge "Change Fail to Failed in error messages"
This commit is contained in:
commit
497daf1e26
@ -357,7 +357,7 @@ class StorwizeSVCReplicationGlobalMirror(
|
|||||||
try:
|
try:
|
||||||
rel_info = self.driver._helpers.get_relationship_info(vref)
|
rel_info = self.driver._helpers.get_relationship_info(vref)
|
||||||
except Exception as e:
|
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})
|
'due to %(err)s.'), {'volume': vref['id'], 'err': e})
|
||||||
LOG.error(msg)
|
LOG.error(msg)
|
||||||
raise exception.VolumeDriverException(data=msg)
|
raise exception.VolumeDriverException(data=msg)
|
||||||
@ -379,7 +379,7 @@ class StorwizeSVCReplicationGlobalMirror(
|
|||||||
try:
|
try:
|
||||||
rel_info = self.driver._helpers.get_relationship_info(vref)
|
rel_info = self.driver._helpers.get_relationship_info(vref)
|
||||||
except Exception as e:
|
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})
|
'due to %(err)s'), {'volume': vref['id'], 'err': e})
|
||||||
LOG.error(msg)
|
LOG.error(msg)
|
||||||
raise exception.VolumeDriverException(message=msg)
|
raise exception.VolumeDriverException(message=msg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user