mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
fix: delete unused var and const (#3294)
Signed-off-by: hwdef <hwdef97@gmail.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user