git » gofer » commit 0892ab6

debug: Remove unused link

author Alberto Bertogli
2022-10-13 22:42:44 UTC
committer Alberto Bertogli
2022-10-13 22:42:44 UTC
parent caceac33ed93ab0c30db3cde5669a552a11be1d8

debug: Remove unused link

We don't use expvars, so remove link to them in the debug home page.

debug/debug.go +0 -2

diff --git a/debug/debug.go b/debug/debug.go
index c0ca604..26671fc 100644
--- a/debug/debug.go
+++ b/debug/debug.go
@@ -127,8 +127,6 @@ var htmlIndex = template.Must(
   <ul>
     <li><a href="/debug/config">configuration</a>
     <li><a href="/debug/traces">traces</a>
-    <li><a href="/debug/vars">exported variables</a>
-         <small><a href="https://golang.org/pkg/expvar/">(ref)</a></small>
     <li><a href="/debug/pprof">pprof</a>
         <small><a href="https://golang.org/pkg/net/http/pprof/">
           (ref)</a></small>