Fix error message in cinder/api/v2/volumes.py

Minor fix.

Change-Id: I1269e271581cc523368b3e59fe4b8ced4febf9de
Closes-Bug: #1479598
This commit is contained in:
lisali 2015-07-30 11:18:25 +08:00
parent b807ad524a
commit f72cf0a985
1 changed files with 1 additions and 1 deletions

View File

@ -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: