blob: d3b47c2a928985d181cdb5efd2a08b6de2dce6df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package server
import (
"github.com/containers/libpod/pkg/api/handlers"
"github.com/gorilla/mux"
)
func (s *APIServer) registerVersionHandlers(r *mux.Router) error {
r.Handle("/version", APIHandler(s.Context, handlers.VersionHandler))
r.Handle(VersionedPath("/version"), APIHandler(s.Context, handlers.VersionHandler))
return nil
}
|