Commit 6e1c57ac authored by Yong Tang's avatar Yong Tang Committed by Michael Grosser

Rename middleware -> plugin in comment (#2818)

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent fd165e94
......@@ -7,7 +7,7 @@ import (
"github.com/prometheus/client_golang/prometheus"
)
// MustRegister registers the prometheus Collectors when the metrics middleware is used.
// MustRegister registers the prometheus Collectors when the metrics plugin is used.
func MustRegister(c *caddy.Controller, cs ...prometheus.Collector) {
m := dnsserver.GetConfig(c).Handler("prometheus")
if m == nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment