Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMraka committed Oct 4, 2024
1 parent e49f9d1 commit 158b4b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turnpike/controllers/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"fmt"
"io"
"net/http"
"net/url"
"regexp"
"strconv"
"time"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 158b4b0

Please sign in to comment.