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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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

View File

@ -8,7 +8,7 @@ import (
log "github.com/sirupsen/logrus"
)
// UnencryptedKeysContainer defines the structure of the unecrypted key JSON file.
// UnencryptedKeysContainer defines the structure of the unencrypted key JSON file.
type UnencryptedKeysContainer struct {
Keys []*UnencryptedKeys `json:"keys"`
}