Skip to content

Commit

Permalink
rest: hide status detail behind admin endpoint (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzh authored Feb 26, 2021
1 parent dd261af commit 14001fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manager/json_rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (r *RestfulAPI) GetAPIHandler() http.Handler {
api := rest.NewApi()
api.Use(rest.DefaultDevStack...)
router, err := rest.MakeRouter(
rest.Get("/lug/v1/manager", r.getManagerStatusDetail),
rest.Get("/lug/v1/admin/manager/detail", r.getManagerStatusDetail),
rest.Get("/lug/v1/manager/summary", r.getManagerStatusSummary),
rest.Post("/lug/v1/admin/manager/start", r.startManager),
rest.Post("/lug/v1/admin/manager/stop", r.stopManager),
Expand Down

0 comments on commit 14001fc

Please sign in to comment.