aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/setup.go
diff options
context:
space:
mode:
authorGravatar Xiao An <hac@zju.edu.cn> 2019-03-08 04:12:54 +0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-03-07 20:12:54 +0000
commit89a4b9bd45aa34a00e5cb6c55800736ca8a4e6e9 (patch)
tree83bc01d07e86d7ed36738aba30f65f0d7252abb9 /plugin/file/setup.go
parent97e2a53a650b7eb41b86874285e300f52a9122eb (diff)
downloadcoredns-89a4b9bd45aa34a00e5cb6c55800736ca8a4e6e9.tar.gz
coredns-89a4b9bd45aa34a00e5cb6c55800736ca8a4e6e9.tar.zst
coredns-89a4b9bd45aa34a00e5cb6c55800736ca8a4e6e9.zip
Add deprecation notice for NO_RELOAD (#2643)
Signed-off-by: Xiao An <hac@zju.edu.cn>
Diffstat (limited to '')
-rw-r--r--plugin/file/setup.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/file/setup.go b/plugin/file/setup.go
index e74bab7a5..c019ad081 100644
--- a/plugin/file/setup.go
+++ b/plugin/file/setup.go
@@ -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":