From: liudong Date: Tue, 22 Oct 2013 10:37:50 +0000 (+0800) Subject: Fix volume transfer href issue X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b104d1c0c70898b59b6668970e05cebadecd064a;p=openstack-build%2Fcinder-build.git Fix volume transfer href issue The volume transfer collection in url defined as "os-volume-tranfer", but I got another define "tranfers" in href url. They are different. So it should be modify. Change-Id: I69a43012f2bb70ce5fc7b0331d2759527a261170 closes-bug: #1242980 --- diff --git a/cinder/api/views/transfers.py b/cinder/api/views/transfers.py index 2b8b54e0c..3cc757f86 100644 --- a/cinder/api/views/transfers.py +++ b/cinder/api/views/transfers.py @@ -23,7 +23,7 @@ LOG = logging.getLogger(__name__) class ViewBuilder(common.ViewBuilder): """Model transfer API responses as a python dictionary.""" - _collection_name = "transfers" + _collection_name = "os-volume-transfer" def __init__(self): """Initialize view builder."""