From 158b4b0405cc908ce0a1e2d12399d20d5874cd26 Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Fri, 4 Oct 2024 10:57:03 +0200 Subject: [PATCH] DEBUG --- turnpike/controllers/admin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/turnpike/controllers/admin.go b/turnpike/controllers/admin.go index c33ab6bcb..c644beef6 100644 --- a/turnpike/controllers/admin.go +++ b/turnpike/controllers/admin.go @@ -9,7 +9,6 @@ import ( "fmt" "io" "net/http" - "net/url" "regexp" "strconv" "time" @@ -294,7 +293,8 @@ func GetManagerPprof(c *gin.Context) { func pprofHandler(c *gin.Context, address string) { query := c.Request.URL.RawQuery param := c.Param("param") - data, err := getPprof(address, url.QueryEscape(param), query) + // data, err := getPprof(address, url.QueryEscape(param), query) + data, err := getPprof(address, "", query) if err != nil { c.JSON(http.StatusInternalServerError, gin.H{"err": err.Error()}) return