chore(server): deprecate mod temporarily

release-0.4
Yicheng Qin 2014-04-15 12:27:11 -07:00
parent 65b872c8b5
commit a1a91ab75a
2 changed files with 6 additions and 3 deletions

View File

@ -207,7 +207,9 @@ func (s *Server) HTTPHandler() http.Handler {
s.handleFunc(router, "/version", s.GetVersionHandler).Methods("GET")
s.installV1(router)
s.installV2(router)
s.installMod(router)
// Mod is deprecated temporariy due to its unstable state.
// It would be added back later.
// s.installMod(router)
if s.trace {
s.installDebug(router)

View File

@ -23,8 +23,9 @@ go test -v ./server/v1/tests -race
go test -i ./server/v2/tests
go test -v ./server/v2/tests -race
go test -i ./mod/lock/v2/tests
go test -v ./mod/lock/v2/tests
# Mod is deprecated temporarily.
# go test -i ./mod/lock/v2/tests
# go test -v ./mod/lock/v2/tests
go test -i ./pkg/btrfs
go test -v ./pkg/btrfs