blob: 8048c1ad2decc7a0ab6a5252ab6af030c4c941f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package server
import (
"github.com/containers/podman/v4/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
}
|