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