Signed-off-by: gotjosh <josue@grafana.com>
This commit is contained in:
gotjosh 2021-02-24 15:38:05 +00:00
parent eb3048f2df
commit 40279b7fa4
No known key found for this signature in database
GPG Key ID: 731A782929412860
1 changed files with 2 additions and 0 deletions

View File

@ -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() }