From c5d1fcd70a2f464ec629e7c9d0a571f8fc4ffd28 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Wed, 22 Oct 2014 13:58:43 -0400 Subject: [PATCH] fix wrong name --- etcdserver/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdserver/cluster.go b/etcdserver/cluster.go index a91f9106c..372a9fe3c 100644 --- a/etcdserver/cluster.go +++ b/etcdserver/cluster.go @@ -87,7 +87,7 @@ func (c Cluster) Pick(id uint64) string { return "" } -// AddMembersFromFlag parses a sets of names to IPs either from the command line or discovery formatted like: +// SetMembersFromString parses a sets of names to IPs either from the command line or discovery formatted like: // mach0=http://1.1.1.1,mach0=http://2.2.2.2,mach0=http://1.1.1.1,mach1=http://2.2.2.2,mach1=http://3.3.3.3 func (c *Cluster) SetMembersFromString(s string) error { c.members = make(map[uint64]*Member)