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 3bad527 commit cfb6e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/meta/pprof.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (h *handler) handleProfiles(w http.ResponseWriter, r *http.Request) {
case "/debug/pprof/all":
h.archiveProfiles(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 cfb6e5f

Please sign in to comment.