Skip to content

Commit

Permalink
Fix lock passed by value
Browse files Browse the repository at this point in the history
Reported by go vet -composites=false ./...
  • Loading branch information
panchoh committed Dec 5, 2018
1 parent d566a7c commit 668b5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossip/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (a *Agent) sendOutQueue() {
}
}

func (a Agent) route(src *member.Peer) []*memberlist.Node {
func (a *Agent) route(src *member.Peer) []*memberlist.Node {
var excluded PeerList

dst := make([]*memberlist.Node, 0)
Expand Down

0 comments on commit 668b5dd

Please sign in to comment.