]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd_types: make pg_notify_t operator<< slightly less gross
authorSage Weil <sage@redhat.com>
Tue, 11 Apr 2017 20:24:39 +0000 (16:24 -0400)
committerSage Weil <sage@redhat.com>
Fri, 28 Apr 2017 15:30:39 +0000 (11:30 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/osd_types.cc

index 7ce981d1256e52a8458676513ce68542c12fc703..30009576834260629668e24f5506b3647d11fad4 100644 (file)
@@ -2780,9 +2780,9 @@ void pg_notify_t::generate_test_instances(list<pg_notify_t*>& o)
 
 ostream &operator<<(ostream &lhs, const pg_notify_t &notify)
 {
-  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