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
This commit is contained in:
@@ -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`.
|
||||
|
@@ -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`.
|
||||
|
Reference in New Issue
Block a user