Skip to content

Commit 65db30b

Browse files
nitishkumar71alexellis
authored andcommitted
set client passed in argument
Signed-off-by: Nitishkumar Singh <[email protected]>
1 parent 63806f7 commit 65db30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type ClientAuth interface {
3030
func NewClient(gatewayURL *url.URL, auth ClientAuth, client *http.Client) *Client {
3131
return &Client{
3232
GatewayURL: gatewayURL,
33-
Client: http.DefaultClient,
33+
Client: client,
3434
ClientAuth: auth,
3535
}
3636
}

0 commit comments

Comments
 (0)