summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2013-07-22 21:55:52 -0700
committerDan Mick <dan.mick@inktank.com>2013-07-23 14:04:11 -0700
commit96551f97d8d37222293dbe23e1e2c4cddb7544f2 (patch)
treef315370c9f36cfc0f77b54a4b833e94b7acea087 /src
parent3dcfe386bf95cf6ede398a1c0fe900c479b987a3 (diff)
downloadceph-96551f97d8d37222293dbe23e1e2c4cddb7544f2.tar.gz
mon: "status" is missing a close_section for the overall output
Fixes: #5720 Signed-off-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src')
-rw-r--r--src/mon/Monitor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc
index f537c915945..957f0c7f5ca 100644
--- a/src/mon/Monitor.cc
+++ b/src/mon/Monitor.cc
@@ -1832,6 +1832,7 @@ void Monitor::get_status(stringstream &ss, Formatter *f)
f->open_object_section("mdsmap");
mdsmon()->mdsmap.print_summary(f, NULL);
f->close_section();
+ f->close_section();
} else {
ss << " cluster " << monmap->get_fsid() << "\n";
ss << " health " << health << "\n";