mirror of
https://github.com/containers/podman.git
synced 2025-10-20 12:43:58 +08:00

Automated for .go files via gomove [1]: `gomove github.com/containers/podman/v3 github.com/containers/podman/v4` Remaining files via vgrep [2]: `vgrep github.com/containers/podman/v3` [1] https://github.com/KSubedi/gomove [2] https://github.com/vrothberg/vgrep Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
14 lines
407 B
Go
14 lines
407 B
Go
package server
|
|
|
|
import (
|
|
"github.com/containers/podman/v4/pkg/api/handlers/compat"
|
|
"github.com/gorilla/mux"
|
|
)
|
|
|
|
func (s *APIServer) registerPluginsHandlers(r *mux.Router) error {
|
|
r.Handle(VersionedPath("/plugins"), s.APIHandler(compat.UnsupportedHandler))
|
|
// Added non version path to URI to support docker non versioned paths
|
|
r.Handle("/plugins", s.APIHandler(compat.UnsupportedHandler))
|
|
return nil
|
|
}
|