fix: logger and context.
This commit is contained in:
parent
b4c7b90c9e
commit
8e18d37b3d
52 changed files with 231 additions and 183 deletions
|
@ -39,7 +39,7 @@ func (r *RRLoadBalancer) next() Handler {
|
|||
|
||||
if r.current >= len(r.servers) {
|
||||
r.current = 0
|
||||
log.Debugf("Load balancer: going back to the first available server")
|
||||
log.WithoutContext().Debugf("Load balancer: going back to the first available server")
|
||||
}
|
||||
|
||||
handler := r.servers[r.current]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue