summaryrefslogtreecommitdiff
path: root/cinderclient/v1
diff options
context:
space:
mode:
Diffstat (limited to 'cinderclient/v1')
-rw-r--r--cinderclient/v1/volume_snapshots.py2
-rw-r--r--cinderclient/v1/volumes.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cinderclient/v1/volume_snapshots.py b/cinderclient/v1/volume_snapshots.py
index b7840bd..922071a 100644
--- a/cinderclient/v1/volume_snapshots.py
+++ b/cinderclient/v1/volume_snapshots.py
@@ -107,7 +107,7 @@ class SnapshotManager(base.ManagerWithFind):
:rtype: list of :class:`Snapshot`
"""
- query_string = utils.build_query_param(search_opts, True)
+ query_string = utils.build_query_param(search_opts, sort=True)
detail = ""
if detailed:
diff --git a/cinderclient/v1/volumes.py b/cinderclient/v1/volumes.py
index 699c4ea..8e25f40 100644
--- a/cinderclient/v1/volumes.py
+++ b/cinderclient/v1/volumes.py
@@ -203,7 +203,7 @@ class VolumeManager(base.ManagerWithFind):
if limit:
search_opts['limit'] = limit
- query_string = utils.build_query_param(search_opts, True)
+ query_string = utils.build_query_param(search_opts, sort=True)
detail = ""
if detailed: