From fa86ad17b1a5e1921620894085799ec6ac46d0dd Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 31 Aug 2018 17:04:53 -0500 Subject: mon/ConfigMap: dump more in json form of 'config dump' Signed-off-by: Sage Weil --- src/mon/ConfigMap.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); } -- cgit v1.2.3