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 6015c7460..11c2b815d 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) })
+ once.Do(func() { metrics.MustRegister(c, autoPathCount) })
return nil
})