aboutsummaryrefslogtreecommitdiff
path: root/plugin/dnssec/handler.go
diff options
context:
space:
mode:
authorGravatar li mengyang <hwdef97@gmail.com> 2019-09-24 14:06:38 +0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-09-24 07:06:37 +0100
commit50bac4d3c3032005dc509ee4e95f1f0803c14c63 (patch)
treee0017c30bbe081b8c77c0e24a67d9b6d320355c0 /plugin/dnssec/handler.go
parent081e45afa3c72dcde92c771b5adac2e1521d278e (diff)
downloadcoredns-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.go7
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",