From fd7f999bb8e43a3155836abac3d83f3eb760b2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miros=C5=82aw=20Sarna?= Date: Fri, 20 Dec 2024 14:09:43 +0100 Subject: [PATCH] fix (api) fix to use health function --- cmd/mcvs-stub-server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mcvs-stub-server/main.go b/cmd/mcvs-stub-server/main.go index 90f9f99..a0ad877 100644 --- a/cmd/mcvs-stub-server/main.go +++ b/cmd/mcvs-stub-server/main.go @@ -9,7 +9,7 @@ import ( func main() { h := newHandler() - http.HandleFunc("/health", h.reset) + http.HandleFunc("/health", h.health) http.HandleFunc("/reset", h.reset) http.HandleFunc("/configure", h.configure) http.HandleFunc("/", h.catchAll)