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
gofmt: realign map literal in memory_availability_test.go
rcourtman8be236e99a1f
diff --git a/internal/models/memory_availability_test.go b/internal/models/memory_availability_test.goindex 610a4b9d94..e5e609f043 100644--- a/internal/models/memory_availability_test.go+++ b/internal/models/memory_availability_test.go@@ -38,8 +38,8 @@ func TestMemoryHasKnownUsageAcceptsTrustedZeroUsage(t *testing.T) {func TestMemoryHasKnownUsageRejectsNonFiniteAndContradictoryValues(t *testing.T) {for name, memory := range map[string]Memory{- "nan": {Total: 8 << 30, Used: 4 << 30, Free: 4 << 30, Usage: math.NaN()},- "infinity": {Total: 8 << 30, Used: 4 << 30, Free: 4 << 30, Usage: math.Inf(1)},+ "nan": {Total: 8 << 30, Used: 4 << 30, Free: 4 << 30, Usage: math.NaN()},+ "infinity": {Total: 8 << 30, Used: 4 << 30, Free: 4 << 30, Usage: math.Inf(1)},"free overflow": {Total: 8 << 30, Free: 9 << 30},} {t.Run(name, func(t *testing.T) {