Skip to content

Commit db0284d

Browse files
author
Julien Pivotto
committed
Fix comment
Signed-off-by: Julien Pivotto <[email protected]>
1 parent 2d0de85 commit db0284d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/http_config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ func WithIdleConnTimeout(timeout time.Duration) HTTPClientOption {
406406
}
407407
}
408408

409-
// WithIdleConnTimeout allows setting the user agent.
409+
// WithUserAgent allows setting the user agent.
410410
func WithUserAgent(ua string) HTTPClientOption {
411411
return func(opts *httpClientOptions) {
412412
opts.userAgent = ua

0 commit comments

Comments
 (0)