Skip to content

Commit

Permalink
etcdctl: clean up formatting of member add
Browse files Browse the repository at this point in the history
  • Loading branch information
bcwaldon committed Oct 31, 2014
1 parent 500e9e2 commit f35130a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etcdctl/command/member_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f35130a

Please sign in to comment.