mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 10:13:14 -05:00
Fix some misspells in comment (#2634)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user