mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Configurable zone reload interval in file plugin (#2110)
* Configurable zone reload interval in file plugin * passing reload config from auto plugin to file plugin. removed noReload property from Zone struct. fixed tests based on short file reload hack
This commit is contained in:
@@ -24,7 +24,9 @@ func TestZoneReload(t *testing.T) {
|
||||
|
||||
// Corefile with two stanzas
|
||||
corefile := `example.org:0 {
|
||||
file ` + name + `
|
||||
file ` + name + ` {
|
||||
reload 1s
|
||||
}
|
||||
}
|
||||
|
||||
example.net:0 {
|
||||
|
||||
Reference in New Issue
Block a user