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
fix: Support partial updates for PBS nodes. Related to #1105
rcourtman508c9f88f64e
diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.goindex b4c8c53459..704af2495d 100644--- a/internal/api/config_handlers.go+++ b/internal/api/config_handlers.go@@ -2395,14 +2395,20 @@ func (h *ConfigHandlers) HandleUpdateNode(w http.ResponseWriter, r *http.Request}} else if nodeType == "pbs" && index < len(h.getConfig(r.Context()).PBSInstances) {pbs := &h.getConfig(r.Context()).PBSInstances[index]- pbs.Name = req.Name- host, err := normalizeNodeHost(req.Host, nodeType)- if err != nil {- http.Error(w, err.Error(), http.StatusBadRequest)- return+ // Only update name if provided+ if req.Name != "" {+ pbs.Name = req.Name+ }++ if req.Host != "" {+ host, err := normalizeNodeHost(req.Host, nodeType)+ if err != nil {+ http.Error(w, err.Error(), http.StatusBadRequest)+ return+ }+ pbs.Host = host}- pbs.Host = host// Update GuestURL if providedpbs.GuestURL = req.GuestURL