mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 16:23:11 +08:00
Alert un paused to pending state
This commit is contained in:
@ -260,7 +260,7 @@ func PauseAlertRule(cmd *m.PauseAlertCommand) error {
|
||||
if cmd.Paused {
|
||||
newState = m.AlertStatePaused
|
||||
} else {
|
||||
newState = m.AlertStateNoData
|
||||
newState = m.AlertStatePending
|
||||
}
|
||||
alert.State = newState
|
||||
|
||||
|
Reference in New Issue
Block a user