Skip to content

Commit

Permalink
pass HTTPClient to API Reader too
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
  • Loading branch information
inteon committed Feb 1, 2023
1 parent 5db1738 commit fb9d089
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 fb9d089

Please sign in to comment.