Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Commit

Permalink
Fix bug, Connect to added backends, not addrs
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhuahua committed Jul 19, 2018
1 parent 7da6334 commit fc72bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balancer/backends.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (b *backends) Update(addrs []string) (err error) {

// Connect to added backends, in parallel
if len(added) != 0 {
err = b.connectAll(addrs)
err = b.connectAll(added)
}
return
}
Expand Down

0 comments on commit fc72bf3

Please sign in to comment.