mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix wrong name
This commit is contained in:
parent
cb5a638c44
commit
c5d1fcd70a
@ -87,7 +87,7 @@ func (c Cluster) Pick(id uint64) string {
|
|||||||
return ""
|
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
|
// 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 {
|
func (c *Cluster) SetMembersFromString(s string) error {
|
||||||
c.members = make(map[uint64]*Member)
|
c.members = make(map[uint64]*Member)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user