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 @@ -269,8 +269,8 @@ func WithCloudFetch(useCloudFetch bool) ConnOption {
269269 }
270270}
271271
272- // WithCloudFetchHTTPClient allows a custom http client to be used for cloud fetch. Default is http.DefaultClient.
273- func WithCloudFetchHTTPClient (httpClient * http.Client ) ConnOption {
272+ // WithHTTPClient allows a custom http client to be used for cloud fetch. Default is http.DefaultClient.
273+ func WithHTTPClient (httpClient * http.Client ) ConnOption {
274274 return func (c * config.Config ) {
275275 c .UserConfig .CloudFetchConfig .HTTPClient = httpClient
276276 }
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