mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl: clean up formatting of member add
This commit is contained in:
parent
500e9e2212
commit
f35130a0ed
@ -105,9 +105,10 @@ func actionMemberAdd(c *cli.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Print("\n")
|
||||
fmt.Printf("ETCD_NAME=%q\n", newName)
|
||||
fmt.Printf("ETCD_INITIAL_CLUSTER=%q\n", strings.Join(conf, ","))
|
||||
fmt.Printf("ETCD_INITIAL_CLUSTER_STATE=existing\n")
|
||||
fmt.Printf("ETCD_INITIAL_CLUSTER_STATE=\"existing\"\n")
|
||||
}
|
||||
|
||||
func actionMemberRemove(c *cli.Context) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user