Skip to content

Commit 717412a

Browse files
authored
Update comment align with code (#461)
* Update comment align with code * remove trailling space using by gofmt
1 parent 241c293 commit 717412a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/http_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ func NewHTTPClient(ctx context.Context, opts ...option.ClientOption) (*HTTPClien
7070
// RetryConfig.
7171
//
7272
// The default RetryConfig retries requests on all low-level network errors as well as on HTTP
73-
// InternalServerError (500) and ServiceUnavailable (503) errors. Repeatedly failing requests are
74-
// retried up to 4 times with exponential backoff. Retry delay is never longer than 2 minutes.
73+
// ServiceUnavailable (503) error. Repeatedly failing requests are retried up to 4 times
74+
// with exponential backoff. Retry delay is never longer than 2 minutes.
7575
func WithDefaultRetryConfig(hc *http.Client) *HTTPClient {
7676
twoMinutes := time.Duration(2) * time.Minute
7777
return &HTTPClient{

0 commit comments

Comments
 (0)