From 692ebd313f24ac28b351794fc6e7a2bf3ea78476 Mon Sep 17 00:00:00 2001 From: Thabokani <149070269+Thabokani@users.noreply.github.com> Date: Tue, 6 Feb 2024 18:18:21 +0800 Subject: [PATCH] Fix typos in doc (#13583) Signed-off-by: Thabokani <149070269+Thabokani@users.noreply.github.com> Co-authored-by: Nishant Das --- monitoring/clientstats/scrapers.go | 2 +- tools/unencrypted-keys-gen/keygen/keygen.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/clientstats/scrapers.go b/monitoring/clientstats/scrapers.go index 9d7103c69b..b9486e7c58 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 1ed15945a8..6b381f7c4c 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"` }