Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
  • Loading branch information
roidelapluie committed Jul 8, 2022
1 parent 2d0de85 commit db0284d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/http_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func WithIdleConnTimeout(timeout time.Duration) HTTPClientOption {
}
}

// WithIdleConnTimeout allows setting the user agent.
// WithUserAgent allows setting the user agent.
func WithUserAgent(ua string) HTTPClientOption {
return func(opts *httpClientOptions) {
opts.userAgent = ua
Expand Down

0 comments on commit db0284d

Please sign in to comment.