mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Add deprecation notice for NO_RELOAD (#2643)
Signed-off-by: Xiao An <hac@zju.edu.cn>
This commit is contained in:
@@ -159,6 +159,7 @@ func autoParse(c *caddy.Controller) (Auto, error) {
|
||||
a.loader.ReloadInterval = d
|
||||
|
||||
case "no_reload":
|
||||
log.Warning("NO_RELOAD of directory is deprecated. Use RELOAD (set to 0) instead. See https://coredns.io/plugins/auto/#syntax")
|
||||
a.loader.ReloadInterval = 0
|
||||
|
||||
case "upstream":
|
||||
|
||||
Reference in New Issue
Block a user