mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
修复jmx ip选择错误
This commit is contained in:
@@ -111,7 +111,7 @@ public class Broker implements Serializable {
|
|||||||
return host;
|
return host;
|
||||||
}
|
}
|
||||||
IpPortData ip = endpointMap.get(endPoint);
|
IpPortData ip = endpointMap.get(endPoint);
|
||||||
return ip == null ? ip.getIp() : host;
|
return ip != null ? ip.getIp() : host;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean alive() {
|
public boolean alive() {
|
||||||
|
|||||||
Reference in New Issue
Block a user