aboutsummaryrefslogtreecommitdiff
path: root/plugin/plugin.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-11-03 20:00:07 +0000
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-11-03 13:00:07 -0700
commitc2331d7dda8280053f96ce6ff1b50aace306992a (patch)
tree5c6ae500f561583c174d21b00a53ea56434271a1 /plugin/plugin.go
parent921b02e2d5af6535cab4d2c2113c92770e4d1f59 (diff)
downloadcoredns-c2331d7dda8280053f96ce6ff1b50aace306992a.tar.gz
coredns-c2331d7dda8280053f96ce6ff1b50aace306992a.tar.zst
coredns-c2331d7dda8280053f96ce6ff1b50aace306992a.zip
plugin/host: parse file without holding lock (#2270)
* plugin/host: parse file without holding lock Parse first and then swap the maps *while* holding the lock. Signed-off-by: Miek Gieben <miek@miek.nl> * add back in the parse function, but now purely for testing Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/plugin.go')
0 files changed, 0 insertions, 0 deletions