Reload hook (#1445)

* Add reload directive

* gofmt

* Fix default jitter and error message

* remove unneeded call to NextArg, add a couple negative setup tests

* Review feedback
This commit is contained in:
John Belamaric
2018-01-27 05:42:57 -05:00
committed by Miek Gieben
parent 80050766fb
commit 0b35d4d28f
7 changed files with 237 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ import (
_ "github.com/coredns/coredns/plugin/nsid"
_ "github.com/coredns/coredns/plugin/pprof"
_ "github.com/coredns/coredns/plugin/proxy"
_ "github.com/coredns/coredns/plugin/reload"
_ "github.com/coredns/coredns/plugin/reverse"
_ "github.com/coredns/coredns/plugin/rewrite"
_ "github.com/coredns/coredns/plugin/root"