Skip to content

Commit f35130a

Browse files
committed
etcdctl: clean up formatting of member add
1 parent 500e9e2 commit f35130a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

etcdctl/command/member_commands.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ func actionMemberAdd(c *cli.Context) {
105105
}
106106
}
107107

108+
fmt.Print("\n")
108109
fmt.Printf("ETCD_NAME=%q\n", newName)
109110
fmt.Printf("ETCD_INITIAL_CLUSTER=%q\n", strings.Join(conf, ","))
110-
fmt.Printf("ETCD_INITIAL_CLUSTER_STATE=existing\n")
111+
fmt.Printf("ETCD_INITIAL_CLUSTER_STATE=\"existing\"\n")
111112
}
112113

113114
func actionMemberRemove(c *cli.Context) {

0 commit comments

Comments
 (0)