From 3e8e3bc7a420ca49b742134ab44df49e4b988e45 Mon Sep 17 00:00:00 2001 From: "Lixia (Sylvia) Lei" Date: Wed, 4 Dec 2024 16:02:49 +0800 Subject: [PATCH] remove test code Signed-off-by: Lixia (Sylvia) Lei --- internal/trace/transport.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/trace/transport.go b/internal/trace/transport.go index fc4eddc98..329cae355 100644 --- a/internal/trace/transport.go +++ b/internal/trace/transport.go @@ -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))