package server import ( "github.com/containers/libpod/pkg/api/handlers" "github.com/gorilla/mux" ) func (s *APIServer) registerPluginsHandlers(r *mux.Router) error { r.Handle(VersionedPath("/plugins"), s.APIHandler(handlers.UnsupportedHandler)) // Added non version path to URI to support docker non versioned paths r.Handle("/plugins", s.APIHandler(handlers.UnsupportedHandler)) return nil }