Skip to content

Commit fb9d089

Browse files
committed
pass HTTPClient to API Reader too
Signed-off-by: Tim Ramlot <[email protected]>
1 parent 5db1738 commit fb9d089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cluster/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func New(config *rest.Config, opts ...Option) (Cluster, error) {
202202
}
203203

204204
// Create the API Reader, a client with no cache.
205-
apiReader, err := client.New(config, client.Options{Scheme: options.Scheme, Mapper: mapper})
205+
apiReader, err := client.New(config, client.Options{HTTPClient: options.HTTPClient, Scheme: options.Scheme, Mapper: mapper})
206206
if err != nil {
207207
return nil, err
208208
}

0 commit comments

Comments
 (0)