Merge "Change the error message of resource listing in mongodb"
This commit is contained in:
commit
b26112ba9e
@ -534,9 +534,9 @@ class Connection(base.Connection):
|
||||
:param sort_dir: Direction with which results be sorted(asc, desc).
|
||||
"""
|
||||
|
||||
if marker_pairs is not None:
|
||||
if marker_pairs:
|
||||
raise NotImplementedError(
|
||||
"Cannot use marker pairs in resource listing")
|
||||
"Cannot use marker pairs in resource listing, not implemented")
|
||||
|
||||
q = {}
|
||||
if user is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user