Commit 04a0a0fb authored by lichenchong's avatar lichenchong
Browse files

Modify the heartbeat monitor using the ssl port.

parent 8f5e9529
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ public class KineticHeartbeatListenerService extends HeartbeatListener {
        HeartbeatMessage msg = HeartbeatMessage.fromJson(new String(data)
                .trim());
        String host = msg.getNetworkInterfaces().get(0).getIpV4Address();
        int port = msg.getPort();
        int port = msg.getTlsPort();
        String key = host + ":" + port;
        NodeInfo nodeInfo = null;
        if (!nodesInfo.containsKey(key)) {