diff --git a/balancer.go b/balancer.go index d5f34433..671d2b3d 100644 --- a/balancer.go +++ b/balancer.go @@ -41,8 +41,8 @@ func RoundRobin() Balancer { type roundRobin struct { mu sync.Mutex addrs []Address - next int // index of the next address to return for Get() - waitCh chan struct{} + next int // index of the next address to return for Get() + waitCh chan struct{} // channel to block when there is no address available } // Up appends addr to the end of rr.addrs and sends notification if there