Skip to content

Commit

Permalink
Merge pull request ceph#19597 from joscollin/wip-lspools-output
Browse files Browse the repository at this point in the history
mon: align lspools output

Reviewed-by: Greg Farnum <[email protected]>
  • Loading branch information
gregsfortytwo authored Jan 19, 2018
2 parents 213c98a + e2c252d commit 50dc08c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mon/OSDMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4046,7 +4046,10 @@ bool OSDMonitor::preprocess_command(MonOpRequestRef op)
f->dump_string("poolname", osdmap.pool_name[p->first]);
f->close_section();
} else {
ds << p->first << ' ' << osdmap.pool_name[p->first] << ',';
ds << p->first << ' ' << osdmap.pool_name[p->first];
if (next(p) != osdmap.pools.end()) {
ds << '\n';
}
}
}
}
Expand Down

0 comments on commit 50dc08c

Please sign in to comment.