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 2019/01/11 08:51:53 UTC

[GitHub] wujimin commented on a change in pull request #1058: [SCB-1109] local-service-registry sample of java-chassis can not run directly

wujimin commented on a change in pull request #1058: [SCB-1109] local-service-registry sample of java-chassis can not run directly
URL: https://github.com/apache/servicecomb-java-chassis/pull/1058#discussion_r247038145
 
 

 ##########
 File path: samples/local-service-registry/README.md
 ##########
 @@ -33,13 +33,17 @@ Please find the details as follows.
 ```java
     public class xxxClient {
       public static void main(String[] args) {
+      //"yourpath" must be used absolute path
       System.setProperty("local.registry.file", "/yourpath/registry.yaml");
-        //your code
+
+      //your code
+      ......
+
       System.clearProperty("local.registry.file");
 
 Review comment:
   clear is not necessary?

----------------------------------------------------------------
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