]> Cypherpunks repositories - gostls13.git/commitdiff
net/http/pprof: Correct body tag in index template
authorQuoc-Viet Nguyen <afelion@gmail.com>
Thu, 19 Mar 2015 14:40:37 +0000 (00:40 +1000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 19 Mar 2015 22:45:34 +0000 (22:45 +0000)
The body tag in the pprof template was misplaced.

Change-Id: Icd7948b358f52df1acc7e033ab27a062990ef977
Reviewed-on: https://go-review.googlesource.com/7795
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/pprof/pprof.go

index 61ac67f3b18f57ad5d86e644725d2a4310760c97..02cde50535153585a6759a2ebed9f8a5f7ddd088 100644 (file)
@@ -222,9 +222,9 @@ var indexTmpl = template.Must(template.New("index").Parse(`<html>
 <head>
 <title>/debug/pprof/</title>
 </head>
+<body>
 /debug/pprof/<br>
 <br>
-<body>
 profiles:<br>
 <table>
 {{range .}}