diff options
author | Sage Weil <sage@inktank.com> | 2013-07-29 13:00:31 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-29 13:01:30 -0700 |
commit | 099ac5184d05d87b7aaf116d2c131a496e3dd718 (patch) | |
tree | 15212dd7d23123f7baf081a1b6b289ff004db342 | |
parent | ee9f04c5f8674bc2e8e6c5d92e9193d904215cb5 (diff) | |
download | ceph-099ac5184d05d87b7aaf116d2c131a496e3dd718.tar.gz |
mon: fix xml element name
Should be the type, not the name.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/mon/Monitor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 119ef740aa8..92e6fa4ca76 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -1763,7 +1763,7 @@ void Monitor::get_health(string& status, bufferlist *detailbl, Formatter *f) } if (f) { - f->open_object_section(name.c_str()); + f->open_object_section("mon"); f->dump_string("name", name.c_str()); f->dump_float("skew", skew); f->dump_float("latency", latency); |