Skip to content

Commit

Permalink
yet anothr lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jan 29, 2019
1 parent 6e31a7a commit fe6b187
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ func (n *ClusterNode) callAsync(proc string, msg, resp interface{}, done chan *r
if done != nil {
done <- call
}

}()

call := n.endpoint.Go(proc, msg, resp, myDone)
Expand Down Expand Up @@ -621,9 +620,7 @@ func (c *Cluster) rehash(nodes []string) []string {
}
ringKeys = append(ringKeys, c.thisNodeName)
} else {
for _, name := range nodes {
ringKeys = append(ringKeys, name)
}
ringKeys = append(ringKeys, nodes...)
}
ring.Add(ringKeys...)

Expand Down

0 comments on commit fe6b187

Please sign in to comment.