parent
eb3048f2df
commit
40279b7fa4
|
@ -613,8 +613,10 @@ func (p *Peer) Self() *memberlist.Node {
|
||||||
type Member struct {
|
type Member struct {
|
||||||
*memberlist.Node
|
*memberlist.Node
|
||||||
}
|
}
|
||||||
|
|
||||||
// Name implements cluster.ClusterMember
|
// Name implements cluster.ClusterMember
|
||||||
func (m Member) Name() string { return m.Node.Name }
|
func (m Member) Name() string { return m.Node.Name }
|
||||||
|
|
||||||
// Address implements cluster.ClusterMember
|
// Address implements cluster.ClusterMember
|
||||||
func (m Member) Address() string { return m.Node.Address() }
|
func (m Member) Address() string { return m.Node.Address() }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue