diff --git a/cmd/prometheus/query_log_test.go b/cmd/prometheus/query_log_test.go index b0d551b8f..12b2f930f 100644 --- a/cmd/prometheus/query_log_test.go +++ b/cmd/prometheus/query_log_test.go @@ -222,7 +222,7 @@ func (p *queryLogTest) configuration() string { } } -// exactQueryCount returns wheter we can match an exact query count. False on +// exactQueryCount returns whether we can match an exact query count. False on // recording rules are they are regular time intervals. func (p *queryLogTest) exactQueryCount() bool { return p.origin != ruleOrigin diff --git a/scrape/scrape.go b/scrape/scrape.go index c22f626b0..3c33900bc 100644 --- a/scrape/scrape.go +++ b/scrape/scrape.go @@ -1372,7 +1372,7 @@ func zeroConfig(c *config.ScrapeConfig) *config.ScrapeConfig { return &z } -// reusableCache compares two scrape config and tells wheter the cache is still +// reusableCache compares two scrape config and tells whether the cache is still // valid. func reusableCache(r, l *config.ScrapeConfig) bool { if r == nil || l == nil {