diff options
author | 2021-06-05 14:06:25 +0100 | |
---|---|---|
committer | 2021-06-05 15:06:25 +0200 | |
commit | 47be274d343276cb7675347c1fa1e157dfdaaad3 (patch) | |
tree | 73398e02d45288b2967c9cd3fe5801997b98cd60 /plugin/file/reload.go | |
parent | e2f70b976a5f5950f55f89eb89c774798e69e3a3 (diff) | |
download | coredns-47be274d343276cb7675347c1fa1e157dfdaaad3.tar.gz coredns-47be274d343276cb7675347c1fa1e157dfdaaad3.tar.zst coredns-47be274d343276cb7675347c1fa1e157dfdaaad3.zip |
Fix plugin file reload comment (#4665)
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>
Diffstat (limited to 'plugin/file/reload.go')
-rw-r--r-- | plugin/file/reload.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/reload.go b/plugin/file/reload.go index 426a986b0..a154c0467 100644 --- a/plugin/file/reload.go +++ b/plugin/file/reload.go @@ -7,7 +7,7 @@ import ( "github.com/coredns/coredns/plugin/transfer" ) -// Reload reloads a zone when it is changed on disk. If z.NoReload is true, no reloading will be done. +// Reload reloads a zone when it is changed on disk. If z.ReloadInterval is zero, no reloading will be done. func (z *Zone) Reload(t *transfer.Transfer) error { if z.ReloadInterval == 0 { return nil |