]> Cypherpunks repositories - gostls13.git/commitdiff
net/http/pprof: fix typo on new index page
authorIngo Oeser <nightlyone@googlemail.com>
Thu, 10 May 2018 17:08:46 +0000 (19:08 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 10 May 2018 18:02:07 +0000 (18:02 +0000)
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>
src/net/http/pprof/pprof.go

index 0a5071a08b180252215c28b2e71983eba4e9979a..35b3285a0801cf9b580a9dec7eb6aa7f231f0c91 100644 (file)
@@ -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>