diff options
author | 2018-04-01 13:58:13 +0100 | |
---|---|---|
committer | 2018-04-01 13:58:13 +0100 | |
commit | 2338120f5b8987abdeff12018473c7cef14eebf1 (patch) | |
tree | 1b51fa5c3aca2497b3a318d4c0dfb672a1bb5b68 /plugin/forward/persistent_test.go | |
parent | 4df416ca1da2fff396ff84805518aa8f8b55b80b (diff) | |
download | coredns-2338120f5b8987abdeff12018473c7cef14eebf1.tar.gz coredns-2338120f5b8987abdeff12018473c7cef14eebf1.tar.zst coredns-2338120f5b8987abdeff12018473c7cef14eebf1.zip |
plugin/metrics: add MustRegister function (#1648)
This registers the Collectors iff the metrics plugin has been loaded.
Safes a bunch of code in each and every plugin's setup code.
Diffstat (limited to 'plugin/forward/persistent_test.go')
0 files changed, 0 insertions, 0 deletions