diff options
author | 2019-03-01 18:49:22 +0800 | |
---|---|---|
committer | 2019-03-01 10:49:22 +0000 | |
commit | 352a0423624688e127ddc79615549a5ac59a3aec (patch) | |
tree | 8c2c2cdb7db9465bac60070478592525be95f110 /plugin | |
parent | 7ffa4f19bb9640aed5d7419da9cdc6622eb94a7a (diff) | |
download | coredns-352a0423624688e127ddc79615549a5ac59a3aec.tar.gz coredns-352a0423624688e127ddc79615549a5ac59a3aec.tar.zst coredns-352a0423624688e127ddc79615549a5ac59a3aec.zip |
Fix some misspells in comment (#2634)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/file/reload.go | 2 | ||||
-rw-r--r-- | plugin/proxy/README.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/file/reload.go b/plugin/file/reload.go index 512ea68c9..e73c5b87d 100644 --- a/plugin/file/reload.go +++ b/plugin/file/reload.go @@ -8,7 +8,7 @@ import ( // TickTime is clock resolution. By default ticks every second. Handler checks if reloadInterval has been reached on every tick. var TickTime = 1 * time.Second -// Reload reloads a zone when it is changed on disk. If z.NoRoload is true, no reloading will be done. +// Reload reloads a zone when it is changed on disk. If z.NoReload is true, no reloading will be done. func (z *Zone) Reload() error { if z.ReloadInterval == 0 { return nil diff --git a/plugin/proxy/README.md b/plugin/proxy/README.md index 491a62467..ead80548a 100644 --- a/plugin/proxy/README.md +++ b/plugin/proxy/README.md @@ -69,7 +69,7 @@ There are four load-balancing policies available: All polices implement randomly spraying packets to backend hosts when *no healthy* hosts are -available. This is to preeempt the case where the healthchecking (as a mechanism) fails. +available. This is to preempt the case where the healthchecking (as a mechanism) fails. ## Upstream Protocols |