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

Commit

Permalink
Merge pull request #1299 from astub/master
Browse files Browse the repository at this point in the history
Feature: #1298 Added tribe member address to tags in REST API.
  • Loading branch information
jcooklin authored Oct 19, 2016
2 parents d9b23fa + 9b58132 commit ef582bb
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 ef582bb

Please sign in to comment.