Fix error message in cinder/api/v2/volumes.py
Minor fix. Change-Id: I1269e271581cc523368b3e59fe4b8ced4febf9de Closes-Bug: #1479598
This commit is contained in:
parent
b807ad524a
commit
f72cf0a985
|
@ -385,7 +385,7 @@ class VolumeController(wsgi.Controller):
|
|||
source_replica)
|
||||
if src_vol['replication_status'] == 'disabled':
|
||||
explanation = _('source volume id:%s is not'
|
||||
' replicated') % source_volid
|
||||
' replicated') % source_replica
|
||||
raise exc.HTTPBadRequest(explanation=explanation)
|
||||
kwargs['source_replica'] = src_vol
|
||||
except exception.VolumeNotFound as error:
|
||||
|
|
Loading…
Reference in New Issue