Skip to content

Commit

Permalink
fix: order of healthz and readyz arguments (#2743)
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Baker <[email protected]>
  • Loading branch information
rbtr authored May 20, 2024
1 parent 5033a0c commit 3c9450d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cns/healthserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 3c9450d

Please sign in to comment.