From b75d68d01b78166a780593a12391ee58218faeb9 Mon Sep 17 00:00:00 2001 From: javed Ansari Date: Sat, 23 Jul 2022 12:13:17 +0530 Subject: [PATCH] Removed Redacted() function from req.url --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 3ebb5e86..62f7fb2d 100644 --- a/client.go +++ b/client.go @@ -1502,7 +1502,7 @@ func (c *Client) PerformRequest(ctx context.Context, opt PerformRequestOptions) duration := time.Now().UTC().Sub(start) c.infof("%s %s [status:%d, request:%.3fs]", strings.ToUpper(opt.Method), - req.URL.Redacted(), + req.URL, resp.StatusCode, float64(int64(duration/time.Millisecond))/1000)