mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Added braces to single condition firingEvaluation string
This commit is contained in:
parent
690868c837
commit
fc82dac868
@ -47,7 +47,7 @@ func (e *DefaultEvalHandler) Eval(context *EvalContext) {
|
||||
if i > 0 {
|
||||
firingEval = "[" + firingEval + " " + operator + " " + strconv.FormatBool(cr.Firing) + "]"
|
||||
} else {
|
||||
firingEval = strconv.FormatBool(firing)
|
||||
firingEval = "[" + strconv.FormatBool(firing) + "]"
|
||||
}
|
||||
|
||||
context.EvalMatches = append(context.EvalMatches, cr.EvalMatches...)
|
||||
|
Loading…
Reference in New Issue
Block a user