From 1623885dc6ba603bba2583f6020c96710fb1a9cd Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Tue, 3 Dec 2024 16:59:16 +0100 Subject: [PATCH] root: fix health status code (#12255) --- internal/web/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/proxy.go b/internal/web/proxy.go index 8961fc7d096a..b606fdef795c 100644 --- a/internal/web/proxy.go +++ b/internal/web/proxy.go @@ -34,7 +34,7 @@ func (ws *WebServer) configureProxy() { rp.ErrorHandler = ws.proxyErrorHandler rp.ModifyResponse = ws.proxyModifyResponse ws.mainRouter.PathPrefix(config.Get().Web.Path).Path("/-/health/live/").HandlerFunc(sentry.SentryNoSample(func(rw http.ResponseWriter, r *http.Request) { - rw.WriteHeader(204) + rw.WriteHeader(200) })) ws.mainRouter.PathPrefix(config.Get().Web.Path).HandlerFunc(sentry.SentryNoSample(func(rw http.ResponseWriter, r *http.Request) { if !ws.g.IsRunning() {