Alert un paused to pending state

This commit is contained in:
utkarshcmu
2016-11-01 07:58:38 -07:00
parent d9f2519916
commit 7490c49f60
3 changed files with 9 additions and 2 deletions

View File

@ -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