Skip to content

Commit

Permalink
Merge pull request #2163 from inteon/pass_http_client_to_apireader
Browse files Browse the repository at this point in the history
🏃 Use HTTPClient to create the API Reader
  • Loading branch information
k8s-ci-robot committed Feb 1, 2023
2 parents 5db1738 + fb9d089 commit 9361b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func New(config *rest.Config, opts ...Option) (Cluster, error) {
}

// Create the API Reader, a client with no cache.
apiReader, err := client.New(config, client.Options{Scheme: options.Scheme, Mapper: mapper})
apiReader, err := client.New(config, client.Options{HTTPClient: options.HTTPClient, Scheme: options.Scheme, Mapper: mapper})
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9361b25

Please sign in to comment.