Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Pass restored alert snapshots to process recovery callbacks

pulse-triage[bot]ce083df1df6f
diff --git a/internal/notifications/firing_group_process_test.go b/internal/notifications/firing_group_process_test.go
index 8cbdbafc4e..4805ff729e 100644
--- a/internal/notifications/firing_group_process_test.go
+++ b/internal/notifications/firing_group_process_test.go
@@ -150,8 +150,8 @@ func TestGroupedWarningProcessHelper(t *testing.T) {
// and receipt-gated entry points as the monitor callback.
nm.SetGroupingConfig(false, 0, false, false)
for _, a := range am.GetActiveAlerts() {
- nm.CancelResolvedAlert(a)
- nm.SendResolvedAlert(&alerts.ResolvedAlert{Alert: a, ResolvedTime: time.Now().UTC()})
+ nm.CancelResolvedAlert(&a)
+ nm.SendResolvedAlert(&alerts.ResolvedAlert{Alert: &a, ResolvedTime: time.Now().UTC()})
}
emit("resolved")
case "stop":