feat(alerting): set basic description text of status ok

This commit is contained in:
bergquist
2016-05-31 20:01:06 +02:00
parent 68f148880d
commit 76758d270f
3 changed files with 5 additions and 5 deletions

View File

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