aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIngo Oeser <nightlyone@googlemail.com>2018-05-10 19:08:46 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2018-05-10 18:02:07 +0000
commit5bd88b028b73beec576657dff0d8bd486e46b893 (patch)
tree33635341d0068eab0971fa6a86c2dd8891be4088 /src
parent25f73db0b66c9bfbf7ea7d46feb6db4de49da003 (diff)
downloadgo-5bd88b028b73beec576657dff0d8bd486e46b893.tar.xz
net/http/pprof: fix typo on new index page
s/thread/thead/ as this is Table HEAD and not a thread as indicated by the closing tag an context this apears in. Change-Id: I3aa0cc95b96c9a594cb5a49713efa22d67e4990c Reviewed-on: https://go-review.googlesource.com/112675 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/net/http/pprof/pprof.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/pprof/pprof.go b/src/net/http/pprof/pprof.go
index 0a5071a08b..35b3285a08 100644
--- a/src/net/http/pprof/pprof.go
+++ b/src/net/http/pprof/pprof.go
@@ -319,7 +319,7 @@ var indexTmpl = template.Must(template.New("index").Parse(`<html>
<br>
Types of profiles available:
<table>
-<thread><td>Count</td><td>Profile</td></thead>
+<thead><td>Count</td><td>Profile</td></thead>
{{range .}}
<tr>
<td>{{.Count}}</td><td><a href={{.Href}}>{{.Name}}</a></td>