diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-12-23 06:21:13 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-12-23 06:21:13 +0000 |
commit | 680354b5a0b8fcf6217083de68efb24af8de6f26 (patch) | |
tree | dd25abccdceef93d6122a87f6d2cd42f3cb75b39 /nova/volume | |
parent | c64e696c6f1a8007df028e22fe305ccae8edb1d4 (diff) | |
parent | 1054a906481245597e989e20741445bddca6668f (diff) | |
download | nova-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.py | 4 |
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: |