heyile commented on a change in pull request #1007: [SCB-1039]Add interface to 
compatible with ServiceCenter Aggregator
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1007#discussion_r236030963
 
 

 ##########
 File path: 
service-registry/src/main/java/org/apache/servicecomb/serviceregistry/client/http/ServiceRegistryClientImpl.java
 ##########
 @@ -489,7 +534,7 @@ public String 
registerMicroserviceInstance(MicroserviceInstance instance) {
     CountDownLatch countDownLatch = new CountDownLatch(1);
     RestUtils.get(ipPort,
         String.format(Const.REGISTRY_API.MICROSERVICE_INSTANCE_OPERATION_ALL, 
providerId),
-        new RequestParam().addHeader("X-ConsumerId", consumerId),
+        new RequestParam().addHeader("X-ConsumerId", 
consumerId).addQueryParam("global", "true"),
 
 Review comment:
   ok

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to