Merge pull request #4234 from patience00/druid-admin

fix #4167,ignore the serviceId's case
This commit is contained in:
温绍锦
2021-05-10 15:48:07 +08:00
committed by GitHub
@@ -117,7 +117,7 @@ public class MonitorStatService implements DruidStatServiceMBean {
int port = instance.getPort();
String serviceId = instance.getServiceId();
// 根据前端参数采集指定的服务
if (serviceId.equals(requestServiceName)) {
if (serviceId.equalsIgnoreCase(requestServiceName)) {
ServiceNode serviceNode = new ServiceNode();
serviceNode.setId(instanceId);
serviceNode.setPort(port);