ctlv3: print 'ETCD_INITIAL_ADVERTISE_PEER_URLS' in 'member add'

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyu-Ho Lee 2017-07-28 13:53:13 -07:00
parent ca586147bd
commit 98fc5e5769

View File

@ -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")
}
}