diff --git a/internal/alerts/alerts.go b/internal/alerts/alerts.go index 6b6be01e4..4512af535 100644 --- a/internal/alerts/alerts.go +++ b/internal/alerts/alerts.go @@ -933,6 +933,9 @@ func (m *Manager) AcknowledgeAlert(alertID, user string) error { now := time.Now() alert.AckTime = &now alert.AckUser = user + + // Write the modified alert back to the map + m.activeAlerts[alertID] = alert return nil }