[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:
parent
c67f81937c
commit
52025bd7a9
@ -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.
|
// recording rules are they are regular time intervals.
|
||||||
func (p *queryLogTest) exactQueryCount() bool {
|
func (p *queryLogTest) exactQueryCount() bool {
|
||||||
return p.origin != ruleOrigin
|
return p.origin != ruleOrigin
|
||||||
|
@ -1372,7 +1372,7 @@ func zeroConfig(c *config.ScrapeConfig) *config.ScrapeConfig {
|
|||||||
return &z
|
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.
|
// valid.
|
||||||
func reusableCache(r, l *config.ScrapeConfig) bool {
|
func reusableCache(r, l *config.ScrapeConfig) bool {
|
||||||
if r == nil || l == nil {
|
if r == nil || l == nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user