Skip to content

Commit

Permalink
fix bad routing signature
Browse files Browse the repository at this point in the history
  • Loading branch information
DocSavage committed Mar 24, 2024
1 parent 92c6348 commit c74ff0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ func latenciesHandler(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, string(m))
}

func serverStorageHandler(c *web.C, w http.ResponseWriter, r *http.Request) {
func serverStorageHandler(c web.C, w http.ResponseWriter, r *http.Request) {
adminPriv := c.Env["adminPriv"].(bool)
if !adminPriv {
BadRequest(w, r, "Storage summary takes considerable resources and is only available to admin users.")
Expand Down

0 comments on commit c74ff0c

Please sign in to comment.