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.

Admit an actual administrator in the bundle session fixture

pulse-triage[bot]0f256089ae62
diff --git a/internal/api/log_bundle_lifetime_linux_test.go b/internal/api/log_bundle_lifetime_linux_test.go
index 3fd5d031ac..49b21949ae 100644
--- a/internal/api/log_bundle_lifetime_linux_test.go
+++ b/internal/api/log_bundle_lifetime_linux_test.go
@@ -30,6 +30,9 @@ func TestSupportBundleNativeWithdrawal(t *testing.T) {
raw := logStreamToken
if transport == "session" {
raw = "synthetic-held-bundle-session"
+ config.Mu.Lock()
+ cfg.AuthUser = "operator"
+ config.Mu.Unlock()
GetSessionStore().CreateSession(raw, time.Hour, "fixture", "127.0.0.1", cfg.AuthUser)
t.Cleanup(func() { GetSessionStore().DeleteSession(raw) })
}