Skip to content

Commit

Permalink
chore: go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
chengshiwen authored Sep 29, 2024
1 parent cfb6e5f commit 3397660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/httpd/pprof.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (h *Handler) handleProfiles(w http.ResponseWriter, r *http.Request) {
case "/debug/pprof/all":
h.archiveProfilesAndQueries(w, r)
case "/debug/pprof":
// Redirect to /debug/pprof/ to avoid jumping to a blank page
// Redirect to /debug/pprof/ to avoid jumping to a blank page
// after clicking the links on the /debug/pprof webpage.
http.Redirect(w, r, "/debug/pprof/", http.StatusFound)
default:
Expand Down

0 comments on commit 3397660

Please sign in to comment.