mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
We missed bumping the go module, so let's do it now :) * Automated go code with github.com/sirkon/go-imports-rename * Manually via `vgrep podman/v2` the rest Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
14 lines
426 B
Go
14 lines
426 B
Go
package server
|
|
|
|
import (
|
|
"github.com/containers/podman/v3/pkg/api/handlers/compat"
|
|
"github.com/gorilla/mux"
|
|
)
|
|
|
|
func (s *APIServer) registerDistributionHandlers(r *mux.Router) error {
|
|
r.HandleFunc(VersionedPath("/distribution/{name}/json"), compat.UnsupportedHandler)
|
|
// Added non version path to URI to support docker non versioned paths
|
|
r.HandleFunc("/distribution/{name}/json", compat.UnsupportedHandler)
|
|
return nil
|
|
}
|