mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -08:00
[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.
|
||||
func (p *queryLogTest) exactQueryCount() bool {
|
||||
return p.origin != ruleOrigin
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue