Alter wrong comment about param filters

The function _process_consistencygroups_filters can not filter the
dictionary of filters, and it is unnecessary. So altering wrong
comment about param filters to avoid the confusion.

Change-Id: I212e68e35fa228fd84a145e12263cefabcba24f5
This commit is contained in:
zhangguoqing 2016-03-14 11:30:20 +00:00
parent d428d9bc84
commit ecf0a4b40f

View File

@ -4019,11 +4019,7 @@ def consistencygroup_get_all(context, filters=None, marker=None, limit=None,
paired with corresponding item in sort_dirs
:param sort_dirs: list of directions in which results should be sorted,
paired with corresponding item in sort_keys
:param filters: dictionary of filters; values that are in lists, tuples,
or sets cause an 'IN' operation, while exact matching
is used for other values, see
_process_consistencygroups_filters function for more
information
:param filters: Filters for the query in the form of key/value.
:returns: list of matching consistency groups
"""
return _consistencygroup_get_all(context, filters, marker, limit, offset,
@ -4048,11 +4044,7 @@ def consistencygroup_get_all_by_project(context, project_id, filters=None,
paired with corresponding item in sort_dirs
:param sort_dirs: list of directions in which results should be sorted,
paired with corresponding item in sort_keys
:param filters: dictionary of filters; values that are in lists, tuples,
or sets cause an 'IN' operation, while exact matching
is used for other values, see
_process_consistencygroups_filters function for more
information
:param filters: Filters for the query in the form of key/value.
:returns: list of matching consistency groups
"""
authorize_project_context(context, project_id)