From 2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b Mon Sep 17 00:00:00 2001 From: Zhizhen He Date: Thu, 10 Aug 2023 23:06:48 +0800 Subject: Fix typos (#6235) * Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL Signed-off-by: Zhizhen He --- plugin/loadbalance/weighted.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/loadbalance/weighted.go') diff --git a/plugin/loadbalance/weighted.go b/plugin/loadbalance/weighted.go index bdd8232f8..2622509f4 100644 --- a/plugin/loadbalance/weighted.go +++ b/plugin/loadbalance/weighted.go @@ -162,7 +162,7 @@ func (w *weightedRR) topAddressIndex(address []dns.RR) int { w.mutex.Lock() defer w.mutex.Unlock() - // Dertermine the weight value for each address in the answer + // Determine the weight value for each address in the answer var wsum uint type waddress struct { index int -- cgit v1.2.3