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
perf: Remove redundant fmt.Sprintf in tempproxy contains function
rcourtman9dbfc3216c93
diff --git a/internal/tempproxy/client.go b/internal/tempproxy/client.goindex b5ac2209e3..5a17e02714 100644--- a/internal/tempproxy/client.go+++ b/internal/tempproxy/client.go@@ -213,7 +213,6 @@ func classifyError(err error, respError string) *ProxyError {// contains checks if any of the substrings are in the main string (case-insensitive)func contains(s string, substrs ...string) bool {- s = fmt.Sprintf("%v", s)for _, substr := range substrs {if len(s) >= len(substr) {for i := 0; i <= len(s)-len(substr); i++ {