Alerting: Remove feature toggle for custom recovery threshold (#104455)

This commit is contained in:
Gilles De Mey
2025-04-24 11:58:17 -04:00
committed by GitHub
parent 674fdd1d32
commit 109267ab03
13 changed files with 247 additions and 312 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ func (h *ExpressionQueryReader) ReadQuery(
eq.Command = threshold
eq.Properties = q
if firstCondition.UnloadEvaluator != nil && h.features.IsEnabledGlobally(featuremgmt.FlagRecoveryThreshold) {
if firstCondition.UnloadEvaluator != nil {
unloading, err := NewThresholdCommand(common.RefID, referenceVar, firstCondition.UnloadEvaluator.Type, firstCondition.UnloadEvaluator.Params)
unloading.Invert = true
if err != nil {