aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/server/register_distribution.go
blob: b0ac61fb87a478fc332bdfba8bc1b4618b75c0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
package server

import (
	"github.com/containers/libpod/pkg/api/handlers"
	"github.com/gorilla/mux"
)

func (s *APIServer) RegisterDistributionHandlers(r *mux.Router) error {
	r.HandleFunc(VersionedPath("/distribution/{name}/json"), handlers.UnsupportedHandler)
	return nil
}