aboutsummaryrefslogtreecommitdiff
path: root/plugin/loadbalance/weighted.go
diff options
context:
space:
mode:
authorGravatar Zhizhen He <hezhizhen.yi@gmail.com> 2023-08-10 23:06:48 +0800
committerGravatar GitHub <noreply@github.com> 2023-08-10 11:06:48 -0400
commit2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b (patch)
treef4fbc4794fdd5036a09ed5bb2316d1e5bdb4badb /plugin/loadbalance/weighted.go
parentc657af467b4d5a81fdd296f0917213db71a3dd6d (diff)
downloadcoredns-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.go2
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