diff options
author | 2019-04-01 14:28:01 +0800 | |
---|---|---|
committer | 2019-04-01 07:28:01 +0100 | |
commit | cb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9 (patch) | |
tree | 685a047089ad4554751e0747cd37650eec3e8ecc /plugin/file/setup.go | |
parent | 99c3d065bcfe9172ac86d9e18639e4a574707514 (diff) | |
download | coredns-cb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9.tar.gz coredns-cb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9.tar.zst coredns-cb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9.zip |
Fully deprecate TIMEOUT and NO_RELOAD (#2742)
* Fully deprecate NO_RELOAD
Signed-off-by: Xiao An <hac@zju.edu.cn>
* Fully deprecate TIMEOUT
Signed-off-by: Xiao An <hac@zju.edu.cn>
* Update CI tests to adapt to the deprecation of TIMEOUT
Signed-off-by: Xiao An <hac@zju.edu.cn>
* Add documents for directive transfer in plugin auto
Signed-off-by: Xiao An <hac@zju.edu.cn>
Diffstat (limited to 'plugin/file/setup.go')
-rw-r--r-- | plugin/file/setup.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugin/file/setup.go b/plugin/file/setup.go index c019ad081..ca9b2c9b3 100644 --- a/plugin/file/setup.go +++ b/plugin/file/setup.go @@ -112,10 +112,6 @@ 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": // ignore args, will be error later. c.RemainingArgs() // clear buffer |