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.

Use canonical audit record API in migration test

rcourtman0d89be1c915a
diff --git a/tests/migration/v5_session_db_test.go b/tests/migration/v5_session_db_test.go
index 1552d0eb05..9282605fc8 100644
--- a/tests/migration/v5_session_db_test.go
+++ b/tests/migration/v5_session_db_test.go
@@ -544,7 +544,7 @@ func TestV5DataDir_AuditDBPreExistingData(t *testing.T) {
Success: true,
Details: "v6 logout after migration",
}
- require.NoError(t, logger.Log(newEvent))
+ require.NoError(t, logger.Record(newEvent))
// Verify both v5 and v6 events coexist
allEvents, err := logger.Query(audit.QueryFilter{Limit: 100})