Skip to content

Commit

Permalink
remove test code
Browse files Browse the repository at this point in the history
Signed-off-by: Lixia (Sylvia) Lei <[email protected]>
  • Loading branch information
Wwwsylvia committed Dec 4, 2024
1 parent de3236e commit 38e30fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/trace/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ func (t *Transport) RoundTrip(req *http.Request) (resp *http.Response, err error
ctx := req.Context()
e := Logger(ctx)

// TEST: to be removed
e = e.WithField("host", req.Host)
e = e.WithField("testkey", 123)

// log the request
e.Debugf("--> Request #%d\n> Request URL: %q\n> Request method: %q\n> Request headers:\n%s",
id, req.URL, req.Method, logHeader(req.Header))
Expand Down

0 comments on commit 38e30fd

Please sign in to comment.