You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/08/07 12:49:41 UTC

[GitHub] liubao68 closed pull request #856: [SCB-801] Delete useless demo

liubao68 closed pull request #856: [SCB-801] Delete useless demo
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/856
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/service-registry/src/main/java/org/apache/servicecomb/serviceregistry/registry/AbstractServiceRegistry.java b/service-registry/src/main/java/org/apache/servicecomb/serviceregistry/registry/AbstractServiceRegistry.java
index e6aba3b52..033947156 100644
--- a/service-registry/src/main/java/org/apache/servicecomb/serviceregistry/registry/AbstractServiceRegistry.java
+++ b/service-registry/src/main/java/org/apache/servicecomb/serviceregistry/registry/AbstractServiceRegistry.java
@@ -76,8 +76,6 @@
 
   protected ServiceCenterTask serviceCenterTask;
 
-  protected ServiceCenterInfo serviceCenterInfo;
-
   public AbstractServiceRegistry(EventBus eventBus, ServiceRegistryConfig serviceRegistryConfig,
       MicroserviceDefinition microserviceDefinition) {
     this.eventBus = eventBus;
@@ -101,8 +99,6 @@ public void init() {
       srClient = createServiceRegistryClient();
     }
 
-    serviceCenterInfo = srClient.getServiceCenterInfo();
-
     createServiceCenterTask();
 
     eventBus.register(this);


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services