Skip to content

Commit 3c9450d

Browse files
authored
fix: order of healthz and readyz arguments (#2743)
Signed-off-by: Evan Baker <[email protected]>
1 parent 5033a0c commit 3c9450d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/healthserver/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"sigs.k8s.io/controller-runtime/pkg/metrics"
1010
)
1111

12-
func Start(log *zap.Logger, addr string, readyz, healthz http.Handler) {
12+
func Start(log *zap.Logger, addr string, healthz, readyz http.Handler) {
1313
e := echo.New()
1414
e.HideBanner = true
1515
e.GET("/healthz", echo.WrapHandler(http.StripPrefix("/healthz", healthz)))

0 commit comments

Comments
 (0)