at file pkg/wildcards/resolver.go,
serverIndex := atomic.LoadInt32(&w.serversIndex)
if w.serversIndex >= int32(len(w.servers)-1) {
atomic.StoreInt32(&w.serversIndex, 0)
serverIndex = 0
}
resolver := w.servers[serverIndex]
the condition w.serversIndex >= int32(len(w.servers)-1) maybe wrong?
because it's never use the last index of the list
it should be w.serversIndex >= int32(len(w.servers))
at file
pkg/wildcards/resolver.go,the condition
w.serversIndex >= int32(len(w.servers)-1)maybe wrong?because it's never use the last index of the list
it should be
w.serversIndex >= int32(len(w.servers))