mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
Append alert state from the correct object
This commit is contained in:
@@ -50,7 +50,7 @@ func DedupAlerts() []models.AlertGroup {
|
||||
// update map
|
||||
alerts[alertLFP] = a
|
||||
// and append alert state to the slice
|
||||
alertStates[alertLFP] = append(alertStates[alertLFP], a.State)
|
||||
alertStates[alertLFP] = append(alertStates[alertLFP], alert.State)
|
||||
} else {
|
||||
alerts[alertLFP] = models.Alert(alert)
|
||||
// seed alert state slice
|
||||
|
||||
Reference in New Issue
Block a user