aboutsummaryrefslogtreecommitdiff
path: root/plugin/autopath/setup.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/autopath/setup.go')
-rw-r--r--plugin/autopath/setup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/autopath/setup.go b/plugin/autopath/setup.go
index edade9d20..4dbe139ca 100644
--- a/plugin/autopath/setup.go
+++ b/plugin/autopath/setup.go
@@ -26,7 +26,7 @@ func setup(c *caddy.Controller) error {
}
c.OnStartup(func() error {
- once.Do(func() { metrics.MustRegister(c, autoPathCount) })
+ metrics.MustRegister(c, autoPathCount)
return nil
})