Authored by qinchao

在线ip配置对比bug修改

@@ -317,9 +317,14 @@ public class ServiceCompare { @@ -317,9 +317,14 @@ public class ServiceCompare {
317 } 317 }
318 318
319 client.start(); 319 client.start();
320 -  
321 String servicePath = ZKPaths.makePath("/yh/services/", serviceName); 320 String servicePath = ZKPaths.makePath("/yh/services/", serviceName);
322 321
  322 +
  323 + if("product".equals(serviceName)){
  324 + servicePath = ZKPaths.makePath("/yh/services/", "product.insertApply");
  325 + }
  326 +
  327 +
323 List<String> serviceInstances = client.getChildren().forPath(servicePath); 328 List<String> serviceInstances = client.getChildren().forPath(servicePath);
324 329
325 DEBUG.error(" zkregistercloud{} service{}, serviceInstances {} ", net, service, serviceInstances); 330 DEBUG.error(" zkregistercloud{} service{}, serviceInstances {} ", net, service, serviceInstances);