[comments] change word ‘wheter’ to ‘whether’ (#6912)

* [comments] change word ‘wheter’ to ‘whether’
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>

* [comments] change word ‘wheter’ to ‘whether’
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
This commit is contained in:
李国忠 2020-03-02 16:21:24 +08:00 committed by GitHub
parent c67f81937c
commit 52025bd7a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 {