blob: c8f9dcede1f901a5ed7fe3f5ae112a35a0c6f95d (
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", s.APIHandler(handlers.VersionHandler))
r.Handle(VersionedPath("/version"), s.APIHandler(handlers.VersionHandler))
return nil
}
|