From a96725e2ad543ffcd5a3de3040581c5e05cc780d Mon Sep 17 00:00:00 2001 From: Anton Arefiev Date: Wed, 29 Apr 2015 12:45:28 +0300 Subject: [PATCH] Add search_opts into the method list() for qos specs ManagerWithFind.findall require search_opts for all tenants support, the parameter search_opts should also be in all manager classes, which use find method, qos spec does't have this parameter for list(). This change add it. Change-Id: Iea619d66d217d92047a5b965d1e375acc97fa65b Related-Bug: #1252665 --- cinderclient/v1/qos_specs.py | 2 +- cinderclient/v2/qos_specs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cinderclient/v1/qos_specs.py b/cinderclient/v1/qos_specs.py index b4e4272ae..95c709ddb 100644 --- a/cinderclient/v1/qos_specs.py +++ b/cinderclient/v1/qos_specs.py @@ -43,7 +43,7 @@ class QoSSpecsManager(base.ManagerWithFind): """ resource_class = QoSSpecs - def list(self): + def list(self, search_opts=None): """Get a list of all qos specs. :rtype: list of :class:`QoSSpecs`. diff --git a/cinderclient/v2/qos_specs.py b/cinderclient/v2/qos_specs.py index b4e4272ae..95c709ddb 100644 --- a/cinderclient/v2/qos_specs.py +++ b/cinderclient/v2/qos_specs.py @@ -43,7 +43,7 @@ class QoSSpecsManager(base.ManagerWithFind): """ resource_class = QoSSpecs - def list(self): + def list(self, search_opts=None): """Get a list of all qos specs. :rtype: list of :class:`QoSSpecs`.