mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-11 18:17:53 +00:00
To help with packaging, the handlers in pkg/api/handlers are now found in pkg/api/handler/compat. Signed-off-by: Jhon Honce <jhonce@redhat.com>
13 lines
395 B
Go
13 lines
395 B
Go
package server
|
|
|
|
import (
|
|
"github.com/containers/libpod/pkg/api/handlers/compat"
|
|
"github.com/gorilla/mux"
|
|
)
|
|
|
|
func (s *APIServer) registerAuthHandlers(r *mux.Router) error {
|
|
r.Handle(VersionedPath("/auth"), s.APIHandler(compat.UnsupportedHandler))
|
|
// Added non version path to URI to support docker non versioned paths
|
|
r.Handle("/auth", s.APIHandler(compat.UnsupportedHandler))
|
|
return nil
|
|
}
|