]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor.cc: optionally display availability status in json
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Thu, 11 Sep 2025 14:44:51 +0000 (20:14 +0530)
committerShraddha Agrawal <shraddha.agrawal000@gmail.com>
Mon, 6 Oct 2025 14:26:32 +0000 (19:56 +0530)
commitec12abbe84755848b1eaaa85ac2c925f63e0994f
treed7bc64517fc4590f1bfc0a0c0a5f9d9dd29422c8
parentd9b34650a1f2443ba3f7985b4fda98025ba0bcf8
mon/OSDMonitor.cc: optionally display availability status in json

This commit enables users to specify the format option for the
data availability feature. Now if the users specific json-pretty,
output will be displayed in the given format.

Fixes: https://tracker.ceph.com/issues/71546
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
(cherry picked from commit 2bc4922614790fe0010d88363213fb463f93e299)
src/mon/OSDMonitor.cc