Skip to content

Commit

Permalink
Update v2/protocol/http/protocol.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor committed Mar 1, 2024
1 parent c17d949 commit c5f8d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/protocol/http/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func New(opts ...Option) (*Protocol, error) {

if p.Client == nil {
// This is how http.DefaultClient is initialized. We do not just use
// that because when WithTransport is used, it will change the client's
// that because when WithRoundTripper is used, it will change the client's
// transport, which would cause that transport to be used process-wide.
p.Client = &http.Client{}
}
Expand Down

0 comments on commit c5f8d9d

Please sign in to comment.