Browse Source

Update web/web.go

Co-authored-by: Julien <291750+roidelapluie@users.noreply.github.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
pull/14691/head
Arve Knudsen 3 months ago committed by GitHub
parent
commit
4023c2405a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      web/web.go

2
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)

Loading…
Cancel
Save