diff options
author | 2016-10-18 00:04:18 +0800 | |
---|---|---|
committer | 2016-10-17 17:04:18 +0100 | |
commit | 2eafe3ee94bc4b1e94000bc74f8ee524132ae27c (patch) | |
tree | b8adfabba09955a93f78a46733a991d88bc7225f /middleware/auto/regexp_test.go | |
parent | 58387afd5d2b4add476e3b035c437aa26cdf3424 (diff) | |
download | coredns-2eafe3ee94bc4b1e94000bc74f8ee524132ae27c.tar.gz coredns-2eafe3ee94bc4b1e94000bc74f8ee524132ae27c.tar.zst coredns-2eafe3ee94bc4b1e94000bc74f8ee524132ae27c.zip |
Fix files reload failure within a single root zone. (#337)
In the file middleware, if there are multiple zone files under a single root zone, watchers are only invoked on the last element of `zones.Names`. This is caused by loop override on the variable `n`.
This issue can be fixed by passing zone object, which calls reload watcher directly.
Diffstat (limited to 'middleware/auto/regexp_test.go')
0 files changed, 0 insertions, 0 deletions