diff options
author | 2023-08-10 23:06:48 +0800 | |
---|---|---|
committer | 2023-08-10 11:06:48 -0400 | |
commit | 2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b (patch) | |
tree | f4fbc4794fdd5036a09ed5bb2316d1e5bdb4badb /plugin/loadbalance/weighted.go | |
parent | c657af467b4d5a81fdd296f0917213db71a3dd6d (diff) | |
download | coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.tar.gz coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.tar.zst coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.zip |
Fix typos (#6235)
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
Diffstat (limited to 'plugin/loadbalance/weighted.go')
-rw-r--r-- | plugin/loadbalance/weighted.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |