Skip to content

Commit

Permalink
Merge pull request #8332 from gyuho/peer-url
Browse files Browse the repository at this point in the history
ctlv3: print 'ETCD_INITIAL_ADVERTISE_PEER_URLS' in 'member add'
  • Loading branch information
gyuho committed Jul 28, 2017
2 parents ca58614 + 98fc5e5 commit f216165
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 f216165

Please sign in to comment.