...
|
...
|
@@ -317,9 +317,14 @@ public class ServiceCompare { |
|
|
}
|
|
|
|
|
|
client.start();
|
|
|
|
|
|
String servicePath = ZKPaths.makePath("/yh/services/", serviceName);
|
|
|
|
|
|
|
|
|
if("product".equals(serviceName)){
|
|
|
servicePath = ZKPaths.makePath("/yh/services/", "product.insertApply");
|
|
|
}
|
|
|
|
|
|
|
|
|
List<String> serviceInstances = client.getChildren().forPath(servicePath);
|
|
|
|
|
|
DEBUG.error(" zkregistercloud{} service{}, serviceInstances {} ", net, service, serviceInstances);
|
...
|
...
|
|