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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
test: Add edge case for coerceUint64 ParseUint error branch
rcourtman29e01f8ff5e2
diff --git a/pkg/proxmox/client_test.go b/pkg/proxmox/client_test.goindex dab4428283..d5e42ce274 100644--- a/pkg/proxmox/client_test.go+++ b/pkg/proxmox/client_test.go@@ -609,6 +609,13 @@ func TestCoerceUint64(t *testing.T) {value: "1.2.3e4",wantErr: true,},+ // String without .eE that fails ParseUint (covers the ParseUint error branch)+ {+ name: "string invalid no decimal chars",+ field: "test",+ value: "abc",+ wantErr: true,+ },{name: "string quoted null",field: "test",