]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr: index=4, sort_keys=True for json.dumps throughput
authorSage Weil <sage@redhat.com>
Wed, 11 Dec 2019 16:33:17 +0000 (10:33 -0600)
committerSage Weil <sage@redhat.com>
Thu, 12 Dec 2019 16:21:36 +0000 (10:21 -0600)
commit0e9303d0599c92e575aae7acca87328ed8ee9527
tree7f2e09a7ca9ff7b01ef4b17d3c16c28c92834784
parent729401fa51cc89421f1652682251510d9ec91f34
pybind/mgr: index=4, sort_keys=True for json.dumps throughput

- fixes balancer test on py3 by making the pool ls order deterministic
- makes everybody else behave consistently

I left internal json storage alone--no need to sort/normalize.  I also
left out some CLI commands returning non-indented json.

Signed-off-by: Sage Weil <sage@redhat.com>
13 files changed:
src/pybind/mgr/balancer/module.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/crash/module.py
src/pybind/mgr/diskprediction_cloud/module.py
src/pybind/mgr/influx/module.py
src/pybind/mgr/orchestrator_cli/module.py
src/pybind/mgr/pg_autoscaler/module.py
src/pybind/mgr/progress/module.py
src/pybind/mgr/rbd_support/module.py
src/pybind/mgr/restful/module.py
src/pybind/mgr/telemetry/module.py
src/pybind/mgr/volumes/fs/volume.py
src/pybind/mgr/zabbix/module.py