minor fixes based on code review

This commit is contained in:
bergquist
2018-11-12 10:50:56 +01:00
parent aa1b80fe45
commit 2fb78a50d6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ func updateAlerts(existingAlerts []*m.Alert, cmd *m.SaveAlertsCommand, sess *DBS
if alertToUpdate.ContainsUpdates(alert) {
alert.Updated = timeNow()
alert.State = alertToUpdate.State
sess.MustCols("message", "debounce_duration")
sess.MustCols("message", "for")
_, err := sess.ID(alert.Id).Update(alert)
if err != nil {