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.

fix(setup): correct fmt.Sprintf argument alignment for PVE quick setup

rcourtmana982456189e6
diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.go
index 0e2c7afc1b..4716bf461d 100644
--- a/internal/api/config_handlers.go
+++ b/internal/api/config_handlers.go
@@ -5047,14 +5047,16 @@ if [ "$AUTO_REG_SUCCESS" != true ]; then
echo ""
fi
`, serverName, time.Now().Format("2006-01-02 15:04:05"),
- tokenName, pulseURL, pulseURL, pulseURL, serverHost, pulseURL,
- pulseURL, serverHost, pulseURL, tokenName, pulseURL, pulseURL,
+ tokenName, pulseURL, pulseURL,
+ pulseURL, serverHost, pulseURL,
+ pulseURL, serverHost, pulseURL,
+ tokenName, pulseURL, pulseURL,
pulseURL, pulseURL,
pulseIP,
tokenName, tokenName, tokenName, tokenName, tokenName, tokenName,
authToken, pulseURL, serverHost, tokenName, tokenName, storagePerms,
sshKeys.ProxyPublicKey, sshKeys.SensorsPublicKey, minProxyReadyVersion,
- pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, authToken, pulseURL, authToken, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, tokenName)
+ pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, pulseURL, authToken, pulseURL, authToken, pulseURL, tokenName)
} else { // PBS
script = fmt.Sprintf(`#!/bin/bash