Skip to content

Commit

Permalink
fix: copy DefaultTransport
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Sep 20, 2024
1 parent 5e72ba8 commit 86cf783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (c *Client) Get(

client := &http.Client{

Check failure on line 42 in pkg/http/http.go

View workflow job for this annotation

GitHub Actions / lint

type assertion must be checked (forcetypeassert)
Timeout: 10 * 1000000000,
Transport: otelhttp.NewTransport(http.DefaultTransport),
Transport: otelhttp.NewTransport(http.DefaultTransport.(*http.Transport).Clone()),
}
start := time.Now()

Expand Down

0 comments on commit 86cf783

Please sign in to comment.