mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 06:17:27 -08:00
var init for bool
Signed-off-by: schou <pschou@users.noreply.github.com>
This commit is contained in:
parent
22bfc11738
commit
75d932a172
|
@ -400,8 +400,7 @@ func (ng *Engine) validateOpts(expr parser.Expr) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
atModifierUsed := false
|
||||
negativeOffsetUsed := false
|
||||
var atModifierUsed, negativeOffsetUsed bool
|
||||
|
||||
var validationErr error
|
||||
parser.Inspect(expr, func(node parser.Node, path []parser.Node) error {
|
||||
|
|
Loading…
Reference in a new issue