diff options
author | 2020-09-01 15:10:45 +0800 | |
---|---|---|
committer | 2020-09-01 09:10:45 +0200 | |
commit | e233f59ee8fa3ea7e3a965ba66241dd65465926a (patch) | |
tree | 72d2e9b7f6dde9c6fee4a2659656233f9af984a3 /plugin/test/scrape.go | |
parent | 9e4a177d9f422583e68ade2404e598827b091263 (diff) | |
download | coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.tar.gz coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.tar.zst coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.zip |
Fix some typos in comments. (#4100)
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
Diffstat (limited to 'plugin/test/scrape.go')
-rw-r--r-- | plugin/test/scrape.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/test/scrape.go b/plugin/test/scrape.go index cb8a4cdb0..3fb6b26d5 100644 --- a/plugin/test/scrape.go +++ b/plugin/test/scrape.go @@ -77,7 +77,7 @@ func Scrape(url string) []*MetricFamily { return result } -// ScrapeMetricAsInt provide a sum of all metrics collected for the name and label provided. +// ScrapeMetricAsInt provides a sum of all metrics collected for the name and label provided. // if the metric is not a numeric value, it will be counted a 0. func ScrapeMetricAsInt(addr string, name string, label string, nometricvalue int) int { |