Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Feature: #1298 Add Tribe member's address to tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewarr8 committed Oct 18, 2016
1 parent d9b23fa commit 9b58132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mgmt/tribe/tribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,7 @@ func (t *tribe) handleMemberJoin(n *memberlist.Node) {
if _, ok := t.members[n.Name]; !ok {
t.members[n.Name] = agreement.NewMember(n)
t.members[n.Name].Tags = t.decodeTags(n.Meta)
t.members[n.Name].Tags["host"] = n.Addr.String()
}
t.processIntents()
}
Expand Down

0 comments on commit 9b58132

Please sign in to comment.