]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/mirroring: json pretty formatting 65911/head
authorKotresh HR <khiremat@redhat.com>
Wed, 18 Feb 2026 10:48:51 +0000 (16:18 +0530)
committerKotresh HR <khiremat@redhat.com>
Tue, 3 Mar 2026 12:53:02 +0000 (18:23 +0530)
commit2f29ca6db3b4d4047ad0c3a5ea9015929c743e99
treef83b2d52b883d8e0febb6c648716d7dcbd636d4f
parentd43b50d54d6eb659bb2353f6bf8ecd2ead8a82fe
mgr/mirroring: json pretty formatting

The 'daemon status' and 'peer_list' command
out don't support json-pretty format and isn't reader
friendly. This patch adds support of 'json-pretty'
when format='json-pretty' is passed.

Fixes: https://tracker.ceph.com/issues/73516
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/pybind/mgr/mirroring/fs/snapshot_mirror.py
src/pybind/mgr/mirroring/module.py