Alerting: Fix export of imported Prometheus-style recording rules to terraform (#115661)
Alerting: Fix export imported Prometheus-style recording rules to terraform
This commit is contained in:
@@ -193,6 +193,7 @@ func validateRecordingRuleFields(in *apimodels.PostableExtendedRuleNode, newRule
|
||||
newRule.For = 0
|
||||
newRule.KeepFiringFor = 0
|
||||
newRule.NotificationSettings = nil
|
||||
newRule.MissingSeriesEvalsToResolve = nil
|
||||
|
||||
return newRule, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user