From 52025bd7a9446c3178bf01dd2949d4874dd45f24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=9B=BD=E5=BF=A0?= Date: Mon, 2 Mar 2020 16:21:24 +0800 Subject: [PATCH] =?UTF-8?q?[comments]=20change=20word=20=E2=80=98wheter?= =?UTF-8?q?=E2=80=99=20to=20=E2=80=98whether=E2=80=99=20(#6912)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [comments] change word ‘wheter’ to ‘whether’ Signed-off-by: fuling * [comments] change word ‘wheter’ to ‘whether’ Signed-off-by: fuling --- cmd/prometheus/query_log_test.go | 2 +- scrape/scrape.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {