From b104d1c0c70898b59b6668970e05cebadecd064a Mon Sep 17 00:00:00 2001 From: liudong Date: Tue, 22 Oct 2013 18:37:50 +0800 Subject: [PATCH] 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 --- cinder/api/views/transfers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.""" -- 2.45.2