From 3c9450d9cec3bb854732ef20d354ce8dd586cf47 Mon Sep 17 00:00:00 2001 From: Evan Baker Date: Mon, 20 May 2024 12:21:37 -0700 Subject: [PATCH] fix: order of healthz and readyz arguments (#2743) Signed-off-by: Evan Baker --- cns/healthserver/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cns/healthserver/server.go b/cns/healthserver/server.go index e9b75df11..d5449343a 100644 --- a/cns/healthserver/server.go +++ b/cns/healthserver/server.go @@ -9,7 +9,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/metrics" ) -func Start(log *zap.Logger, addr string, readyz, healthz http.Handler) { +func Start(log *zap.Logger, addr string, healthz, readyz http.Handler) { e := echo.New() e.HideBanner = true e.GET("/healthz", echo.WrapHandler(http.StripPrefix("/healthz", healthz)))