From ac481509c7ccc587a44e576e8cdc40270b4d3ef1 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:49:54 -0300 Subject: [PATCH] [v11.4.x] Alerting: Fix alert rules unpausing after moving rule to different folder (#97583) Alerting: Fix alert rules unpausing after moving rule to different folder (#97580) Alerting: Fix alert rules unpaused after moving rule to different folder (cherry picked from commit f60caf6932b8c4660e01134a1d3501d3c0aa836b) Co-authored-by: Santiago --- pkg/services/ngalert/models/testing.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/services/ngalert/models/testing.go b/pkg/services/ngalert/models/testing.go index af53eca7e82..3be88514d8e 100644 --- a/pkg/services/ngalert/models/testing.go +++ b/pkg/services/ngalert/models/testing.go @@ -614,6 +614,7 @@ func CopyRule(r *AlertRule, mutators ...AlertRuleMutator) *AlertRule { ExecErrState: r.ExecErrState, For: r.For, Record: r.Record, + IsPaused: r.IsPaused, } if r.DashboardUID != nil {