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:
Anton Arefiev
2015-04-29 12:45:28 +03:00
parent c82723660d
commit a96725e2ad
2 changed files with 2 additions and 2 deletions

View File

@@ -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`.

View File

@@ -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`.