File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -270,8 +270,8 @@ func WithCloudFetch(useCloudFetch bool) ConnOption {
270270 }
271271}
272272
273- // WithCloudFetchHTTPClient allows a custom http client to be used for cloud fetch. Default is http.DefaultClient.
274- func WithCloudFetchHTTPClient (httpClient * http.Client ) ConnOption {
273+ // WithHTTPClient allows a custom http client to be used for cloud fetch. Default is http.DefaultClient.
274+ func WithHTTPClient (httpClient * http.Client ) ConnOption {
275275 return func (c * config.Config ) {
276276 c .UserConfig .CloudFetchConfig .HTTPClient = httpClient
277277 }
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ func TestNewConnector(t *testing.T) {
257257 WithServerHostname (host ),
258258 WithAccessToken (accessToken ),
259259 WithHTTPPath (httpPath ),
260- WithCloudFetchHTTPClient (customClient ),
260+ WithHTTPClient (customClient ),
261261 )
262262 assert .Nil (t , err )
263263
You can’t perform that action at this time.
0 commit comments