Merge pull request #554 from WYAOBO/master

修复jmx,ip错误
This commit is contained in:
EricZeng
2022-09-05 16:08:03 +08:00
committed by GitHub

View File

@@ -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() {