Skip to content

Commit

Permalink
Update doc string for Client.RetryAttempts (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendrixMSFT committed Dec 15, 2020
1 parent 52aee6b commit 27ede5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autorest/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ type Client struct {
// Setting this to zero will use the provided context to control the duration.
PollingDuration time.Duration

// RetryAttempts sets the default number of retry attempts for client.
// RetryAttempts sets the total number of times the client will attempt to make an HTTP request.
// Set the value to 1 to disable retries. DO NOT set the value to less than 1.
RetryAttempts int

// RetryDuration sets the delay duration for retries.
Expand Down

0 comments on commit 27ede5f

Please sign in to comment.