mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect/promql: typo fix; updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/69
This commit is contained in:
parent
45fc8cb72f
commit
7aadec8e3c
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ func (rc *regexpCache) Get(regexp string) *regexpCacheValue {
|
||||||
rcv := rc.m[regexp]
|
rcv := rc.m[regexp]
|
||||||
rc.mu.RUnlock()
|
rc.mu.RUnlock()
|
||||||
|
|
||||||
if rc == nil {
|
if rcv == nil {
|
||||||
atomic.AddUint64(&rc.misses, 1)
|
atomic.AddUint64(&rc.misses, 1)
|
||||||
}
|
}
|
||||||
return rcv
|
return rcv
|
||||||
|
|
Loading…
Reference in a new issue