]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: disable dictionary key sorting for cli output
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 25 Apr 2024 20:26:17 +0000 (16:26 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 1 May 2024 13:29:51 +0000 (09:29 -0400)
commita98538318efc3b7229ebb0f26f923b8a5bd528a4
tree63e6df0d1b7139fccebb9ebadb1277db0e41cc9f
parent53e81500e8cb07f4788a6eba8ed1cc5dd8421423
mgr/smb: disable dictionary key sorting for cli output

Use new adapter class options to disable key sorting for dicts when
converting to JSON or YAML. The smb module generally produces dicts
based on resource types that have a well defined key order and it's
nice to to "jumble it up."

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/cli.py