diff options
author | 2019-05-18 18:34:46 +0100 | |
---|---|---|
committer | 2019-05-18 18:34:46 +0100 | |
commit | 118b0c940890161d185b64497605a7ef84c38a0a (patch) | |
tree | a66511c124afb8c87c16a7784250dc441650e671 /plugin/debug/pcap_test.go | |
parent | d41e9ff7b7196374856d8db4bf33b31df8e20abc (diff) | |
download | coredns-118b0c940890161d185b64497605a7ef84c38a0a.tar.gz coredns-118b0c940890161d185b64497605a7ef84c38a0a.tar.zst coredns-118b0c940890161d185b64497605a7ef84c38a0a.zip |
plugin/metrcs: fix datarace on listeners (#2835)
This fixes a data race on the listener(s) that get started in the
metrics plugins.
It also restore pkg/uniq to its former glory and removes and state being
carried in there; this means for metrics that registry.go was to
replicate that behavior *with* locking (as pkg/uniq doesn't do, or need
that).
Also renamed uniqAddr to just u, to make it slightly shorter.
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/debug/pcap_test.go')
0 files changed, 0 insertions, 0 deletions