From 06c31f4e91a7f4e72f7c9a7af2092f2fedc204e9 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Thu, 1 Aug 2024 15:58:50 +0200 Subject: [PATCH] tsweb/varz: remove pprof Updates tailscale/corp#22075 Signed-off-by: Kristoffer Dalby --- cmd/derper/depaware.txt | 2 +- cmd/stund/depaware.txt | 2 +- tsweb/varz/varz.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/derper/depaware.txt b/cmd/derper/depaware.txt index 0a7b15d1d..4f5029ca9 100644 --- a/cmd/derper/depaware.txt +++ b/cmd/derper/depaware.txt @@ -273,7 +273,7 @@ tailscale.com/cmd/derper dependencies: (generated by github.com/tailscale/depawa net/http from expvar+ net/http/httptrace from net/http+ net/http/internal from net/http - net/http/pprof from tailscale.com/tsweb+ + net/http/pprof from tailscale.com/tsweb net/netip from go4.org/netipx+ net/textproto from golang.org/x/net/http/httpguts+ net/url from crypto/x509+ diff --git a/cmd/stund/depaware.txt b/cmd/stund/depaware.txt index 794533cfa..69a399559 100644 --- a/cmd/stund/depaware.txt +++ b/cmd/stund/depaware.txt @@ -170,7 +170,7 @@ tailscale.com/cmd/stund dependencies: (generated by github.com/tailscale/depawar net/http from expvar+ net/http/httptrace from net/http net/http/internal from net/http - net/http/pprof from tailscale.com/tsweb+ + net/http/pprof from tailscale.com/tsweb net/netip from go4.org/netipx+ net/textproto from golang.org/x/net/http/httpguts+ net/url from crypto/x509+ diff --git a/tsweb/varz/varz.go b/tsweb/varz/varz.go index bf788674e..cdf9cfe7c 100644 --- a/tsweb/varz/varz.go +++ b/tsweb/varz/varz.go @@ -10,7 +10,6 @@ import ( "fmt" "io" "net/http" - _ "net/http/pprof" "reflect" "runtime" "sort"