Skip to content

Commit

Permalink
Fix WithHTTPClient comment (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
averche committed Aug 11, 2023
1 parent 27cd603 commit 44cd051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ func WithAddress(address string) ClientOption {
}

// WithHTTPClient sets the HTTP client to use for all API requests.
// The library sets reasonable defaults for the BaseClient and its associated
// The library sets reasonable defaults for the HTTPClient and its associated
// http.Transport. If you must modify Vault's defaults, it is suggested that
// you start with DefaultConfiguration().BaseClient and modify it as needed
// you start with DefaultConfiguration().HTTPClient and modify it as needed
// rather than starting with an empty client or http.DefaultClient.
func WithHTTPClient(client *http.Client) ClientOption {
return func(c *ClientConfiguration) error {
Expand Down

0 comments on commit 44cd051

Please sign in to comment.