mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix #4167,ignore the serviceId's case
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user