From bf7c4022d610bf2e330c14d5bccf646bbda63fff Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 14 Jul 2013 16:12:34 -0700 Subject: [PATCH] mon: move quorum out of monmap Signed-off-by: Sage Weil --- src/mon/MonmapMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/MonmapMonitor.cc b/src/mon/MonmapMonitor.cc index c12fcb56a54b..195f66350d88 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::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) -- 2.47.3