Skip to content

Commit a7f3b7b

Browse files
committed
src/mon/MonMap: modify dump function
Problem: Current dump for "removed_ranks" and "disallowed_leaders" doesn't have the correct format so the python test script can parse through these values. Solution: Modified the values such that it is in the correct format Signed-off-by: Kamoltat Sirivadhna <[email protected]>
1 parent 4d2f887 commit a7f3b7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mon/MonMap.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,10 @@ void MonMap::dump(Formatter *f) const
431431
f->dump_unsigned("min_mon_release", to_integer<unsigned>(min_mon_release));
432432
f->dump_string("min_mon_release_name", to_string(min_mon_release));
433433
f->dump_int ("election_strategy", strategy);
434-
f->dump_stream("disallowed_leaders: ") << disallowed_leaders;
434+
f->dump_stream("disallowed_leaders") << disallowed_leaders;
435435
f->dump_bool("stretch_mode", stretch_mode_enabled);
436436
f->dump_string("tiebreaker_mon", tiebreaker_mon);
437-
f->dump_stream("removed_ranks: ") << removed_ranks;
437+
f->dump_stream("removed_ranks") << removed_ranks;
438438
f->open_object_section("features");
439439
persistent_features.dump(f, "persistent");
440440
optional_features.dump(f, "optional");

0 commit comments

Comments
 (0)