aboutsummaryrefslogtreecommitdiff
path: root/plugin/autopath/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/autopath/metrics.go')
-rw-r--r--plugin/autopath/metrics.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugin/autopath/metrics.go b/plugin/autopath/metrics.go
index c928bd2f3..ae25ab79e 100644
--- a/plugin/autopath/metrics.go
+++ b/plugin/autopath/metrics.go
@@ -1,8 +1,6 @@
package autopath
import (
- "sync"
-
"github.com/coredns/coredns/plugin"
"github.com/prometheus/client_golang/prometheus"
@@ -16,5 +14,3 @@ var (
Help: "Counter of requests that did autopath.",
}, []string{"server"})
)
-
-var once sync.Once