*: fix 'ineffassign' issues
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
@ -112,7 +112,7 @@ func (tp *TCPProxy) pick() *remote {
|
||||
case r.srv.Priority < bestPr:
|
||||
bestPr = r.srv.Priority
|
||||
w = 0
|
||||
weighted, unweighted = nil, nil
|
||||
weighted = nil
|
||||
unweighted = []*remote{r}
|
||||
fallthrough
|
||||
case r.srv.Priority == bestPr:
|
||||
|
Reference in New Issue
Block a user