refactoring remotes to remove deprecated variables, adding tests

This commit is contained in:
Brad Rydzewski
2016-05-01 16:30:00 -07:00
parent b978ed12eb
commit ebd547deac
21 changed files with 797 additions and 696 deletions

View File

@@ -134,8 +134,6 @@ func (s *Server) Handler() http.Handler {
repo.Use(session.MustPull)
repo.GET("", api.GetRepo)
repo.GET("/key", api.GetRepoKey)
repo.POST("/key", api.PostRepoKey)
repo.GET("/builds", api.GetBuilds)
repo.GET("/builds/:number", api.GetBuild)
repo.GET("/logs/:number/:job", api.GetBuildLogs)