]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: correct the osd_ping's message type
authorKefu Chai <kchai@redhat.com>
Fri, 8 Mar 2019 11:46:57 +0000 (19:46 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 20 Mar 2019 03:37:03 +0000 (11:37 +0800)
s/CEPH_MSG_PING/MSG_OSD_PING/

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/heartbeat.cc

index 86ff8fa2a7b2b13ae1ff1084a80405894e3461ed..db58c1d6e5b3661391ace98ac235f70e6d6e41b2 100644 (file)
@@ -229,7 +229,7 @@ seastar::future<> Heartbeat::ms_dispatch(ceph::net::ConnectionRef conn,
   logger().info("heartbeat: ms_dispatch {} from {}",
                 *m, m->get_source());
   switch (m->get_type()) {
-  case CEPH_MSG_PING:
+  case MSG_OSD_PING:
     return handle_osd_ping(conn, boost::static_pointer_cast<MOSDPing>(m));
   default:
     return seastar::now();