Alerting: Add is_paused attr to the POST alert rule group endpoint (#62253)

Add is_paused attr to the POST alert rule group endpoint
This commit is contained in:
Alex Moreno
2023-01-27 10:50:06 +01:00
committed by GitHub
parent 83ff974b86
commit 3ccafe3a5a
6 changed files with 20 additions and 7 deletions
@@ -97,6 +97,7 @@ func validateRuleNode(
RuleGroup: groupName,
NoDataState: noDataState,
ExecErrState: errorState,
IsPaused: ruleNode.GrafanaManagedAlert.IsPaused,
}
newAlertRule.For, err = validateForInterval(ruleNode)