diff options
author | 2019-09-24 14:06:38 +0800 | |
---|---|---|
committer | 2019-09-24 07:06:37 +0100 | |
commit | 50bac4d3c3032005dc509ee4e95f1f0803c14c63 (patch) | |
tree | e0017c30bbe081b8c77c0e24a67d9b6d320355c0 /plugin/dnssec/handler.go | |
parent | 081e45afa3c72dcde92c771b5adac2e1521d278e (diff) | |
download | coredns-50bac4d3c3032005dc509ee4e95f1f0803c14c63.tar.gz coredns-50bac4d3c3032005dc509ee4e95f1f0803c14c63.tar.zst coredns-50bac4d3c3032005dc509ee4e95f1f0803c14c63.zip |
fix: delete unused var and const (#3294)
Signed-off-by: hwdef <hwdef97@gmail.com>
Diffstat (limited to 'plugin/dnssec/handler.go')
-rw-r--r-- | plugin/dnssec/handler.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugin/dnssec/handler.go b/plugin/dnssec/handler.go index 6153bf331..a901b746a 100644 --- a/plugin/dnssec/handler.go +++ b/plugin/dnssec/handler.go @@ -55,13 +55,6 @@ var ( Help: "The number of elements in the dnssec cache.", }, []string{"server", "type"}) - cacheCapacity = prometheus.NewGaugeVec(prometheus.GaugeOpts{ - Namespace: plugin.Namespace, - Subsystem: "dnssec", - Name: "cache_capacity", - Help: "The dnssec cache's capacity.", - }, []string{"server", "type"}) - cacheHits = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: plugin.Namespace, Subsystem: "dnssec", |