diff --git a/monitoring/clientstats/scrapers.go b/monitoring/clientstats/scrapers.go index 9d7103c69bc4..b9486e7c58d2 100644 --- a/monitoring/clientstats/scrapers.go +++ b/monitoring/clientstats/scrapers.go @@ -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 diff --git a/tools/unencrypted-keys-gen/keygen/keygen.go b/tools/unencrypted-keys-gen/keygen/keygen.go index 1ed15945a8d5..6b381f7c4c4b 100644 --- a/tools/unencrypted-keys-gen/keygen/keygen.go +++ b/tools/unencrypted-keys-gen/keygen/keygen.go @@ -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"` }