Add deprecation notice for NO_RELOAD (#2643)

Signed-off-by: Xiao An <hac@zju.edu.cn>
This commit is contained in:
Xiao An 2019-03-08 04:12:54 +08:00 committed by Miek Gieben
parent 97e2a53a65
commit 89a4b9bd45
2 changed files with 2 additions and 0 deletions

View file

@ -113,6 +113,7 @@ func fileParse(c *caddy.Controller) (Zones, error) {
reload = d
case "no_reload":
log.Warning("NO_RELOAD of directory is deprecated. Use RELOAD (set to 0) instead. See https://coredns.io/plugins/file/#syntax")
reload = 0
case "upstream":