Explorar o código

fix wrong name

Barak Michener %!s(int64=11) %!d(string=hai) anos
pai
achega
c5d1fcd70a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      etcdserver/cluster.go

+ 1 - 1
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)