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.

style: fix whitespace in middleware.go

rcourtmanb341ce42fbea
diff --git a/internal/api/middleware.go b/internal/api/middleware.go
index 4b6a247e46..95d0ca44e0 100644
--- a/internal/api/middleware.go
+++ b/internal/api/middleware.go
@@ -93,7 +93,6 @@ func ErrorHandler(next http.Handler) http.Handler {
})
}
-
// writeErrorResponse writes a consistent error response
func writeErrorResponse(w http.ResponseWriter, statusCode int, code, message string, details map[string]string) {
w.Header().Set("Content-Type", "application/json")
@@ -156,4 +155,3 @@ func (rw *responseWriter) Flush() {
flusher.Flush()
}
}
-