[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 f60caf6932)

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
pull/97594/head
grafana-delivery-bot[bot] 1 year ago committed by GitHub
parent e4a7eb6b69
commit ac481509c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      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 {

Loading…
Cancel
Save