]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: fix "ceph pg dump_json/dump_pools_json" format error 38224/head
authorhaoyixing <haoyixing@kuaishou.com>
Sat, 21 Nov 2020 14:31:00 +0000 (22:31 +0800)
committerhaoyixing <haoyixing@kuaishou.com>
Tue, 24 Nov 2020 08:09:51 +0000 (16:09 +0800)
commite947fac485ad2a569cca6259162bd24e5530b54a
treef75241cd4676766066f8845fa9067c488e0f01a7
parent8d4a8735c3a13ec1583475c8524b19a33d1369f6
mgr: fix "ceph pg dump_json/dump_pools_json" format error

When execute ceph pg dump_json, the expected result is json format,
but now is plain. Same to ceph pg dump_pools_json. So check args to
show right format result.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
Co-authored-by: Kefu Chai <kefu@redhat.com>
src/mgr/DaemonServer.cc
src/mon/PGMap.cc