summaryrefslogtreecommitdiff
path: root/cinderclient/v1
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-03 17:54:19 +0000
committerGerrit Code Review <review@openstack.org>2018-10-03 17:54:19 +0000
commit4e17e1d1912f1902a37e4db543e38cdbe3961358 (patch)
treec3f4c33af4f194810620b9c90d8dcdeb3bd82454 /cinderclient/v1
parentc73844df2dc1c02637235babb22cd263eaa45a5b (diff)
parent223d754f6162d87a305bcb2b041a5e73d5fae303 (diff)
downloadpython-cinderclient-4.1.0.tar.gz
Merge "Fix encoding of query parameters"4.1.0
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: