This matches the others now:
cluster
0d553373-5de6-4d90-bc60-
cfd6f6554631
health HEALTH_OK
monmap e2: 1 mons, quorum a
fsmap e2: 0/0/1 up
mgr e3: active: x(starting), standbys: y
osdmap e5: 1 osds: 0 up, 0 in
pgmap v6: 24 pgs, 3 pools, 0 bytes data, 0 objects
0 kB used, 0 kB / 0 kB avail
100.000% pgs inactive
24 creating
Signed-off-by: Sage Weil <sage@redhat.com>
if (f) {
dump(f);
} else {
+ *ss << "e" << get_epoch() << ": ";
if (get_active_gid() != 0) {
*ss << get_active_name();
if (!available) {
} else {
*ss << "(active)";
}
- *ss << " ";
} else {
- *ss << "no daemons active ";
+ *ss << "no daemons active";
}
if (standbys.size()) {
- *ss << "standbys: ";
+ *ss << ", standbys: ";
bool first = true;
for (const auto &i : standbys) {
if (!first) {