From: lisali Date: Thu, 30 Jul 2015 03:18:25 +0000 (+0800) Subject: Fix error message in cinder/api/v2/volumes.py X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=f72cf0a9850337d57040608777fab5ad5319fa34;p=openstack-build%2Fcinder-build.git Fix error message in cinder/api/v2/volumes.py Minor fix. Change-Id: I1269e271581cc523368b3e59fe4b8ced4febf9de Closes-Bug: #1479598 --- diff --git a/cinder/api/v2/volumes.py b/cinder/api/v2/volumes.py index ad32c9bbe..852515cc0 100644 --- a/cinder/api/v2/volumes.py +++ b/cinder/api/v2/volumes.py @@ -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: