aboutsummaryrefslogtreecommitdiff
path: root/middleware/erratic/erratic.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-04-13 16:26:05 +0100
committerGravatar GitHub <noreply@github.com> 2017-04-13 16:26:05 +0100
commitacbf522cebdcd53c26d153c1d9267d709ba75f64 (patch)
tree9c2e3e31041a1ef2a49bd7118a0b1c56813a82d5 /middleware/erratic/erratic.go
parentef4fa66e670fabe5c4dcfecc319c0f99d02bfd07 (diff)
downloadcoredns-acbf522cebdcd53c26d153c1d9267d709ba75f64.tar.gz
coredns-acbf522cebdcd53c26d153c1d9267d709ba75f64.tar.zst
coredns-acbf522cebdcd53c26d153c1d9267d709ba75f64.zip
middleware/proxy: Make Unhealthy a pointer (#615)
Pointer updates are atomic so drop the sync.RWMutex as it is not needed anymore. This also fixes the race introduced with dfc71df (although I believe this is the first time we properly tested that code path).
Diffstat (limited to 'middleware/erratic/erratic.go')
0 files changed, 0 insertions, 0 deletions