tianxiaoliang commented on a change in pull request #219:
URL: https://github.com/apache/servicecomb-kie/pull/219#discussion_r726684927



##########
File path: server/command/command.go
##########
@@ -49,12 +49,19 @@ func ParseConfig(args []string) (err error) {
                        Usage:       "kie use this ip port to join a kie 
cluster, example: --peer-addr=10.1.1.10:5000",
                        Destination: &config.Configurations.PeerAddr,
                        EnvVar:      "PEER_ADDR",
-               }, cli.StringFlag{
+               },
+               cli.StringFlag{
                        Name:        "listen-peer-addr",
                        Usage:       "listen on ip port, kie receive events 
example: --listen-peer-addr=10.1.1.10:5000",
                        Destination: &config.Configurations.ListenPeerAddr,
                        EnvVar:      "LISTEN_PEER_ADDR",
                },
+               cli.StringFlag{
+                       Name:        "advertise-addr",
+                       Usage:       "kie advertise addr, kie advertise addr 
example: --advertise-addr=10.1.1.10:5000",

Review comment:
       如果不需要port,那么usage里面的举例是不是要改下




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to