Commit 352a0423 authored by JoeWrightss's avatar JoeWrightss Committed by Miek Gieben

Fix some misspells in comment (#2634)

Signed-off-by: default avatarzhoulin xie <zhoulin.xie@daocloud.io>
parent 7ffa4f19
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
// TickTime is clock resolution. By default ticks every second. Handler checks if reloadInterval has been reached on every tick. // TickTime is clock resolution. By default ticks every second. Handler checks if reloadInterval has been reached on every tick.
var TickTime = 1 * time.Second 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 { func (z *Zone) Reload() error {
if z.ReloadInterval == 0 { if z.ReloadInterval == 0 {
return nil return nil
......
...@@ -69,7 +69,7 @@ There are four load-balancing policies available: ...@@ -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 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 ## Upstream Protocols
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment