summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-14 16:12:34 -0700
committerSage Weil <sage@inktank.com>2013-07-14 16:12:34 -0700
commitbf7c4022d610bf2e330c14d5bccf646bbda63fff (patch)
tree1880024d2670b3e52a0e508a8926f182c8976962
parent89ced1c26fbd60f048ffe50ddba41ee4207e11be (diff)
downloadceph-bf7c4022d610bf2e330c14d5bccf646bbda63fff.tar.gz
mon: move quorum out of monmap
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/mon/MonmapMonitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/MonmapMonitor.cc b/src/mon/MonmapMonitor.cc
index c12fcb56a54..195f66350d8 100644
--- a/src/mon/MonmapMonitor.cc
+++ b/src/mon/MonmapMonitor.cc
@@ -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)