mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(alerting): set basic description text of status ok
This commit is contained in:
@@ -29,9 +29,9 @@ func SetNewAlertState(cmd *m.UpdateAlertStateCommand) error {
|
||||
return err
|
||||
}
|
||||
|
||||
//if alert.State == cmd.NewState {
|
||||
// return nil
|
||||
//}
|
||||
if alert.State == cmd.NewState {
|
||||
return nil
|
||||
}
|
||||
|
||||
alert.State = cmd.NewState
|
||||
sess.Id(alert.Id).Update(&alert)
|
||||
|
||||
Reference in New Issue
Block a user