aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/secondary_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-02-17 14:57:36 +0000
committerGravatar GitHub <noreply@github.com> 2019-02-17 14:57:36 +0000
commita72f3a161c156c13f185df9fb87bf0d20240a49d (patch)
tree18f8609dcbdba80c31add3ef4fe5a966aa0a1b87 /plugin/file/secondary_test.go
parent362d7e96dce051a175e76cff2ce5bd314ad87c28 (diff)
downloadcoredns-a72f3a161c156c13f185df9fb87bf0d20240a49d.tar.gz
coredns-a72f3a161c156c13f185df9fb87bf0d20240a49d.tar.zst
coredns-a72f3a161c156c13f185df9fb87bf0d20240a49d.zip
plugin/reload: fix data races (#2567)
Reload didn't take proper care to protect the fields from use in different goroutines. Add a mutex and add helpers for usage and interval. Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/file/secondary_test.go')
0 files changed, 0 insertions, 0 deletions