From 7c52b27daf3d546de66ffa05b6864319c2cb2a54 Mon Sep 17 00:00:00 2001 From: Patrick O'Doherty Date: Fri, 9 Feb 2024 12:23:49 -0800 Subject: [PATCH] Revert "tsweb: update ServeMux matching to 1.22.0 syntax (#11087)" (#11089) This reverts commit 291f91d164f1ec60ca77c0cb935a7895ac4cc555. Updates #cleanup This PR needs additional changes to the registration of child handlers under /debug Signed-off-by: Patrick O'Doherty --- tsweb/debug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsweb/debug.go b/tsweb/debug.go index 66db77307..6db3f25cf 100644 --- a/tsweb/debug.go +++ b/tsweb/debug.go @@ -46,7 +46,7 @@ func Debugger(mux *http.ServeMux) *DebugHandler { ret := &DebugHandler{ mux: mux, } - mux.Handle("GET /debug/", ret) + mux.Handle("/debug/", ret) ret.KVFunc("Uptime", func() any { return varz.Uptime() }) ret.KV("Version", version.Long())