fix: order of healthz and readyz arguments (#2743)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
This commit is contained in:
Родитель
5033a0c9e3
Коммит
3c9450d9ce
|
@ -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)))
|
||||
|
|
Загрузка…
Ссылка в новой задаче