X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5f8001297500ccd0a2153ede4a28ba14daad0d42..86074c13f4441fa0804e30a1d68781175ba32e0d:/lib/controller/handler.go diff --git a/lib/controller/handler.go b/lib/controller/handler.go index 53125ae554..775d290347 100644 --- a/lib/controller/handler.go +++ b/lib/controller/handler.go @@ -72,6 +72,7 @@ func (h *Handler) setup() { mux.Handle("/_health/", &health.Handler{ Token: h.Cluster.ManagementToken, Prefix: "/_health/", + Routes: health.Routes{"ping": func() error { _, err := h.db(&http.Request{}); return err }}, }) hs := http.NotFoundHandler() hs = prepend(hs, h.proxyRailsAPI)