diff options
author | 2019-05-05 13:31:55 -0400 | |
---|---|---|
committer | 2019-05-05 17:31:55 +0000 | |
commit | 6e1c57acfa7db3d8ac61f7628c8ce979dcf21bbf (patch) | |
tree | b98605c33f7769daf0c3972058884c9db24658a0 /plugin | |
parent | fd165e94d521f1f5988a76237dfd21638de29462 (diff) | |
download | coredns-6e1c57acfa7db3d8ac61f7628c8ce979dcf21bbf.tar.gz coredns-6e1c57acfa7db3d8ac61f7628c8ce979dcf21bbf.tar.zst coredns-6e1c57acfa7db3d8ac61f7628c8ce979dcf21bbf.zip |
Rename middleware -> plugin in comment (#2818)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/metrics/register.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/metrics/register.go b/plugin/metrics/register.go index bbc388d0c..ea2b45863 100644 --- a/plugin/metrics/register.go +++ b/plugin/metrics/register.go @@ -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 { |