Fix typos in doc (#13583)

Signed-off-by: Thabokani <149070269+Thabokani@users.noreply.github.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
This commit is contained in:
Thabokani
2024-02-06 18:18:21 +08:00
committed by GitHub
parent 6fa656c1ee
commit 692ebd313f
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ func scrapeProm(url string, tripper http.RoundTripper) (map[string]*dto.MetricFa
for {
select {
case fam, chanOpen := <-mfChan:
// FetchMetricFamiles will close the channel when done
// FetchMetricFamilies will close the channel when done
// at which point we want to stop the goroutine
if fam == nil && !chanOpen {
return result, nil