X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16b5f7275ffa2bd4347134f7269744f4cd4baa2a..c44aa637f62f4f0943172ccdcc3e3031c5b838c0:/lib/controller/handler.go diff --git a/lib/controller/handler.go b/lib/controller/handler.go index d7bc9bd9a2..01f2161632 100644 --- a/lib/controller/handler.go +++ b/lib/controller/handler.go @@ -67,6 +67,10 @@ func (h *Handler) CheckHealth() error { return err } +func (h *Handler) Done() <-chan struct{} { + return nil +} + func neverRedirect(*http.Request, []*http.Request) error { return http.ErrUseLastResponse } func (h *Handler) setup() { @@ -79,13 +83,13 @@ func (h *Handler) setup() { rtr := router.New(federation.New(h.Cluster)) mux.Handle("/arvados/v1/config", rtr) + mux.Handle("/"+arvados.EndpointUserAuthenticate.Path, rtr) if !h.Cluster.ForceLegacyAPI14 { mux.Handle("/arvados/v1/collections", rtr) mux.Handle("/arvados/v1/collections/", rtr) mux.Handle("/arvados/v1/users", rtr) mux.Handle("/arvados/v1/users/", rtr) - mux.Handle("/"+arvados.EndpointUserAuthenticate.Path, rtr) mux.Handle("/login", rtr) mux.Handle("/logout", rtr) }