From 74d512330c8686cb4fe6da995acb9eb0af95fd13 Mon Sep 17 00:00:00 2001 From: Arkady Skvoretsky Date: Sat, 22 Nov 2025 17:42:41 +0400 Subject: [PATCH] Fix ref --- servers/http/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/http/handler.go b/servers/http/handler.go index a37f9a4..41b37ec 100644 --- a/servers/http/handler.go +++ b/servers/http/handler.go @@ -6,7 +6,7 @@ import ( "github.com/nijeti/healthcheck" ) -func Handle(hc healthcheck.Healthcheck) http.HandlerFunc { +func Handle(hc *healthcheck.Healthcheck) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { if r.Method != http.MethodGet { w.WriteHeader(http.StatusMethodNotAllowed)