[ 
https://issues.apache.org/jira/browse/SCB-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571606#comment-16571606
 ] 

ASF GitHub Bot commented on SCB-801:
------------------------------------

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:
[email protected]


> delete useless demo
> -------------------
>
>                 Key: SCB-801
>                 URL: https://issues.apache.org/jira/browse/SCB-801
>             Project: Apache ServiceComb
>          Issue Type: Task
>            Reporter: laijianbin
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to