From: Sage Weil Date: Tue, 11 Apr 2017 20:24:39 +0000 (-0400) Subject: osd/osd_types: make pg_notify_t operator<< slightly less gross X-Git-Tag: v12.0.3~129^2~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=da4937c68d7da12f8e4b4a0c70149e8a4a1a3351;p=ceph.git osd/osd_types: make pg_notify_t operator<< slightly less gross Signed-off-by: Sage Weil --- diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 7ce981d1256e..300095768342 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -2780,9 +2780,9 @@ void pg_notify_t::generate_test_instances(list& o) ostream &operator<<(ostream &lhs, const pg_notify_t ¬ify) { - lhs << "(query_epoch:" << notify.query_epoch - << ", epoch_sent:" << notify.epoch_sent - << ", info:" << notify.info; + lhs << "(query:" << notify.query_epoch + << " sent:" << notify.epoch_sent + << " " << notify.info; if (notify.from != shard_id_t::NO_SHARD || notify.to != shard_id_t::NO_SHARD) lhs << " " << (unsigned)notify.from