Skip to content

Commit e1ca1de

Browse files
VladSaiocUbergopherbot
authored andcommitted
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: 381d2d3 GitHub-Pull-Request: golang#75769 Reviewed-on: https://go-review.googlesource.com/c/go/+/709415 Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent e5d004c commit e1ca1de

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/net/http/pprof/pprof.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -352,13 +352,13 @@ func collectProfile(p *pprof.Profile) (*profile.Profile, error) {
352352
}
353353

354354
var profileSupportsDelta = map[handler]bool{
355-
"allocs": true,
356-
"block": true,
357-
"goroutineleak": true,
358-
"goroutine": true,
359-
"heap": true,
360-
"mutex": true,
361-
"threadcreate": true,
355+
"allocs": true,
356+
"block": true,
357+
"goroutineleak": true,
358+
"goroutine": true,
359+
"heap": true,
360+
"mutex": true,
361+
"threadcreate": true,
362362
}
363363

364364
var profileDescriptions = map[string]string{

0 commit comments

Comments
 (0)