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: match storage timeout errors without trailing slash

rcourtmanbe892f5e0779
diff --git a/pkg/proxmox/cluster_client.go b/pkg/proxmox/cluster_client.go
index 8093ab4b52..d87fa62aa7 100644
--- a/pkg/proxmox/cluster_client.go
+++ b/pkg/proxmox/cluster_client.go
@@ -640,8 +640,8 @@ func (cc *ClusterClient) executeWithFailover(ctx context.Context, fn func(*Clien
strings.Contains(errStr, "json: cannot unmarshal") ||
(strings.Contains(errStr, "storage '") && strings.Contains(errStr, "is not available on node")) ||
strings.Contains(errStr, "unexpected response format") ||
- (strings.Contains(errStr, "context deadline exceeded") && strings.Contains(errStr, "/storage/")) ||
- (strings.Contains(errStr, "Client.Timeout exceeded") && strings.Contains(errStr, "/storage/")) {
+ (strings.Contains(errStr, "context deadline exceeded") && strings.Contains(errStr, "/storage")) ||
+ (strings.Contains(errStr, "Client.Timeout exceeded") && strings.Contains(errStr, "/storage")) {
// This is likely a node-specific failure, not an endpoint failure
// Return the error but don't mark the endpoint as unhealthy
log.Debug().