Skip to content

Commit

Permalink
Remove sandbox logging
Browse files Browse the repository at this point in the history
Signed-off-by: Josef Kopriva <[email protected]>
  • Loading branch information
jkopriva committed Dec 14, 2023
1 parent b2be006 commit c81b748
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/sandbox/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,13 @@ type LoggingRoundTripper struct {
}

func (lrt LoggingRoundTripper) RoundTrip(req *http.Request) (res *http.Response, e error) {
// Do "before sending requests" actions here.
GinkgoWriter.Printf("Sandbox proxy sending request to %v:%v %v\n", req.URL, req.Header, req.Body)

// Send the request, get the response (or the error)
res, e = lrt.Proxied.RoundTrip(req)

// Handle the result.
if e != nil {
GinkgoWriter.Printf("Sandbox proxy error: %v", e)
} else {
GinkgoWriter.Printf("Sandbox proxy received %v response\n", res.Status)
}

return res, e
}

Expand Down

0 comments on commit c81b748

Please sign in to comment.