]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: "status" is missing a close_section for the overall output
authorDan Mick <dan.mick@inktank.com>
Tue, 23 Jul 2013 04:55:52 +0000 (21:55 -0700)
committerDan Mick <dan.mick@inktank.com>
Tue, 23 Jul 2013 21:04:11 +0000 (14:04 -0700)
Fixes: #5720
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/mon/Monitor.cc

index f537c915945e59ab1032d9495b5e09cfb0e5ccb1..957f0c7f5ca29a5affefdad094731b0c7f258632 100644 (file)
@@ -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";