From 4023c2405a32686a5fd3779fd310d0307922d445 Mon Sep 17 00:00:00 2001 From: Arve Knudsen Date: Mon, 19 Aug 2024 10:43:05 +0200 Subject: [PATCH] Update web/web.go Co-authored-by: Julien <291750+roidelapluie@users.noreply.github.com> Signed-off-by: Arve Knudsen --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index 9fba6fc95..5cc23760a 100644 --- a/web/web.go +++ b/web/web.go @@ -481,7 +481,7 @@ func New(logger log.Logger, o *Options) *Handler { router.Get("/-/healthy", func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) - fmt.Fprint(w, o.AppName+" is Healthy.\n") + fmt.Fprintf(w, "%s is Healthy.\n", o.AppName) }) router.Head("/-/healthy", func(w http.ResponseWriter, _ *http.Request) { w.WriteHeader(http.StatusOK)