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 authored and radek-ryckowski committed May 22, 2023
1 parent 90b8f56 commit 8c33151
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 8c33151

Please sign in to comment.