Skip to content

Commit

Permalink
removing unused /api/origin/host/{id} route
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbellamy committed Nov 6, 2015
1 parent 4d49aac commit 9877a21
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 85 deletions.
50 changes: 0 additions & 50 deletions app/origin_host.go

This file was deleted.

33 changes: 0 additions & 33 deletions app/origin_host_test.go

This file was deleted.

2 changes: 0 additions & 2 deletions app/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ func Router(c collector) *mux.Router {
gzipHandler(topologyRegistry.captureRenderer(c, handleNode)))
get.MatcherFunc(URLMatcher("/api/topology/{topology}/{local}/{remote}")).HandlerFunc(
gzipHandler(topologyRegistry.captureRenderer(c, handleEdge)))
get.MatcherFunc(URLMatcher("/api/origin/host/{id}")).HandlerFunc(
gzipHandler(makeOriginHostHandler(c)))
get.HandleFunc("/api/report", gzipHandler(makeRawReportHandler(c)))
get.PathPrefix("/").Handler(http.FileServer(FS(false))) // everything else is static

Expand Down

0 comments on commit 9877a21

Please sign in to comment.