Skip to content

Commit

Permalink
ctlv3: print 'ETCD_INITIAL_ADVERTISE_PEER_URLS' in 'member add'
Browse files Browse the repository at this point in the history
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Jul 28, 2017
1 parent ca58614 commit 98fc5e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etcdctl/ctlv3/command/member_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func memberAddCommandFunc(cmd *cobra.Command, args []string) {
fmt.Print("\n")
fmt.Printf("ETCD_NAME=%q\n", newMemberName)
fmt.Printf("ETCD_INITIAL_CLUSTER=%q\n", strings.Join(conf, ","))
fmt.Printf("ETCD_INITIAL_ADVERTISE_PEER_URLS=%q\n", memberPeerURLs)
fmt.Printf("ETCD_INITIAL_CLUSTER_STATE=\"existing\"\n")
}
}
Expand Down

0 comments on commit 98fc5e5

Please sign in to comment.