summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2018-09-01 00:04:53 +0200
committerSage Weil <sage@redhat.com>2018-09-01 00:09:14 +0200
commitfa86ad17b1a5e1921620894085799ec6ac46d0dd (patch)
tree3980951e79763bc3b5ef9287f4a20a323931f6e6 /src
parentMerge pull request #23840 from idryomov/wip-krbd-untar-build-packages (diff)
downloadceph-fa86ad17b1a5e1921620894085799ec6ac46d0dd.tar.xz
ceph-fa86ad17b1a5e1921620894085799ec6ac46d0dd.zip
mon/ConfigMap: dump more in json form of 'config dump'
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/mon/ConfigMap.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mon/ConfigMap.cc b/src/mon/ConfigMap.cc
index 48d2c07bc5e..0bb9a21e2a0 100644
--- a/src/mon/ConfigMap.cc
+++ b/src/mon/ConfigMap.cc
@@ -39,6 +39,9 @@ void MaskedOption::dump(Formatter *f) const
{
f->dump_string("name", opt->name);
f->dump_string("value", raw_value);
+ f->dump_string("level", Option::level_to_str(opt->level));
+ f->dump_bool("can_update_at_runtime", opt->can_update_at_runtime());
+ f->dump_string("mask", mask.to_str());
mask.dump(f);
}