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: remove extra sprintf arguments causing setup script syntax error

Richard Courtman2ba50c24c07d
diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.go
index 68a356c333..73cda80890 100644
--- a/internal/api/config_handlers.go
+++ b/internal/api/config_handlers.go
@@ -4258,7 +4258,7 @@ if [ "$AUTO_REG_SUCCESS" != true ]; then
fi
`, serverName, time.Now().Format("2006-01-02 15:04:05"), pulseIP,
tokenName, tokenName, tokenName, tokenName, tokenName, tokenName,
- authToken, pulseURL, serverHost, tokenName, tokenName, storagePerms, sshPublicKey, pulseURL, pulseURL, pulseURL, pulseURL, authToken, pulseURL, pulseURL, tokenName, serverHost)
+ authToken, pulseURL, serverHost, tokenName, tokenName, storagePerms, sshPublicKey, pulseURL, pulseURL, pulseURL, pulseURL, authToken, pulseURL, pulseURL)
} else { // PBS
script = fmt.Sprintf(`#!/bin/bash