Skip to content

Commit

Permalink
Fix capitalization.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjoern Rabenstein committed Nov 27, 2014
1 parent 147bf71 commit fc53b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func main() {
r.Handler("GET", "/", statusHandler)

// Re-enable pprof.
r.GET("/debug/pprof/*pprof", HandlePprof)
r.GET("/debug/pprof/*pprof", handlePprof)

log.Printf("Listening on %s.\n", *addr)
l, err := net.Listen("tcp", *addr)
Expand All @@ -180,7 +180,7 @@ func main() {
}
}

func HandlePprof(w http.ResponseWriter, r *http.Request, p httprouter.Params) {
func handlePprof(w http.ResponseWriter, r *http.Request, p httprouter.Params) {
switch p.ByName("pprof") {
case "/cmdline":
pprof.Cmdline(w, r)
Expand Down

0 comments on commit fc53b46

Please sign in to comment.