diff options
| author | Vlad Saioc <vsaioc@uber.com> | 2025-10-06 15:10:52 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-10-08 10:09:37 -0700 |
| commit | e1ca1de1234aa0f6be85c97db5492a94b099a305 (patch) | |
| tree | d423c2cc7d4550027d7a462c4e8ad6aafd2b7663 /src/net/http | |
| parent | e5d004c7a8777c8333b965266994a8fd2cd45394 (diff) | |
| download | go-e1ca1de1234aa0f6be85c97db5492a94b099a305.tar.xz | |
net/http: format pprof.go
Properly formatted net/http/pprof.go to correct
inconsistent whitespaces between keys and values
for profileSupportsDelta.
Change-Id: Iea1515b4289de95862d7eb3af5b8d8d13df2b990
GitHub-Last-Rev: 381d2d3ee746fafdf688b96c8b56a081a1283381
GitHub-Pull-Request: golang/go#75769
Reviewed-on: https://go-review.googlesource.com/c/go/+/709415
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/net/http')
| -rw-r--r-- | src/net/http/pprof/pprof.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/http/pprof/pprof.go b/src/net/http/pprof/pprof.go index e5a46ed253..71aade67d3 100644 --- a/src/net/http/pprof/pprof.go +++ b/src/net/http/pprof/pprof.go @@ -352,13 +352,13 @@ func collectProfile(p *pprof.Profile) (*profile.Profile, error) { } var profileSupportsDelta = map[handler]bool{ - "allocs": true, - "block": true, - "goroutineleak": true, - "goroutine": true, - "heap": true, - "mutex": true, - "threadcreate": true, + "allocs": true, + "block": true, + "goroutineleak": true, + "goroutine": true, + "heap": true, + "mutex": true, + "threadcreate": true, } var profileDescriptions = map[string]string{ |
