summaryrefslogtreecommitdiff
path: root/nova/volume
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-12-23 06:21:13 +0000
committerGerrit Code Review <review@openstack.org>2014-12-23 06:21:13 +0000
commit680354b5a0b8fcf6217083de68efb24af8de6f26 (patch)
treedd25abccdceef93d6122a87f6d2cd42f3cb75b39 /nova/volume
parentc64e696c6f1a8007df028e22fe305ccae8edb1d4 (diff)
parent1054a906481245597e989e20741445bddca6668f (diff)
downloadnova-680354b5a0b8fcf6217083de68efb24af8de6f26.tar.gz
Merge "Fix get_all API to pass search option filter to cinder api"
Diffstat (limited to 'nova/volume')
-rw-r--r--nova/volume/cinder.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/volume/cinder.py b/nova/volume/cinder.py
index 5eaf1ec8e1..3bf64c3cfc 100644
--- a/nova/volume/cinder.py
+++ b/nova/volume/cinder.py
@@ -286,7 +286,9 @@ class API(object):
def get_all(self, context, search_opts=None):
search_opts = search_opts or {}
- items = cinderclient(context).volumes.list(detailed=True)
+ items = cinderclient(context).volumes.list(detailed=True,
+ search_opts=search_opts)
+
rval = []
for item in items: