diff --git a/cluster/cluster.go b/cluster/cluster.go index 31b3ce5c..d426b633 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -613,8 +613,10 @@ func (p *Peer) Self() *memberlist.Node { type Member struct { *memberlist.Node } + // Name implements cluster.ClusterMember func (m Member) Name() string { return m.Node.Name } + // Address implements cluster.ClusterMember func (m Member) Address() string { return m.Node.Address() }