]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: move quorum out of monmap
authorSage Weil <sage@inktank.com>
Sun, 14 Jul 2013 23:12:34 +0000 (16:12 -0700)
committerSage Weil <sage@inktank.com>
Sun, 14 Jul 2013 23:12:34 +0000 (16:12 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/MonmapMonitor.cc

index c12fcb56a54b847d7cc78ff54a9732fbc42b236d..195f66350d88ea132e0f5a9e98c837badbd629f7 100644 (file)
@@ -140,11 +140,11 @@ void MonmapMonitor::dump_info(Formatter *f)
   f->dump_unsigned("monmap_first_committed", get_first_committed());
   f->open_object_section("monmap");
   mon->monmap->dump(f);
+  f->close_section();
   f->open_array_section("quorum");
   for (set<int>::iterator q = mon->get_quorum().begin(); q != mon->get_quorum().end(); ++q)
     f->dump_int("mon", *q);
   f->close_section();
-  f->close_section();
 }
 
 bool MonmapMonitor::preprocess_command(MMonCommand *m)