fix typo for log output (#5909)

Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
This commit is contained in:
Fish-pro
2023-02-10 22:39:55 +08:00
committed by GitHub
parent 039a4d87e2
commit 1b001ec229

View File

@@ -204,7 +204,7 @@ func (w *weightedRR) topAddressIndex(address []dns.RR) int {
} }
// we should never reach this // we should never reach this
log.Errorf("Internal error: cannot find top addres (randv:%v wsum:%v)", v, wsum) log.Errorf("Internal error: cannot find top address (randv:%v wsum:%v)", v, wsum)
return -1 return -1
} }