diff options
author | 2019-02-17 14:57:36 +0000 | |
---|---|---|
committer | 2019-02-17 14:57:36 +0000 | |
commit | a72f3a161c156c13f185df9fb87bf0d20240a49d (patch) | |
tree | 18f8609dcbdba80c31add3ef4fe5a966aa0a1b87 /plugin/file/secondary_test.go | |
parent | 362d7e96dce051a175e76cff2ce5bd314ad87c28 (diff) | |
download | coredns-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