Fix some misspells in comment (#2634)

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
JoeWrightss
2019-03-01 18:49:22 +08:00
committed by Miek Gieben
parent 7ffa4f19bb
commit 352a042362
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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