提交 7909f60f 编写于 作者: W wangyaobo

修复jmx ip选择错误

上级 9a1a8a4c
......@@ -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() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册