mirror of https://github.com/hashicorp/consul
Backport of Document how numRetries can't be set to 0 into release/1.14.x (#16168)
* backport of commitpull/16174/head55e197fad7
* backport of commit1a6cf311c5
--------- Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
parent
6ca8b7491d
commit
e8606d2028
|
@ -704,9 +704,11 @@ spec:
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'NumRetries',
|
name: 'NumRetries',
|
||||||
type: 'int: 0',
|
type: 'int: 1',
|
||||||
description:
|
description: {
|
||||||
'The number of times to retry the request when a retryable result occurs.',
|
hcl: 'The number of times to retry the request when a retryable result occurs. You cannot set the value to `0`. To disable retries, unset all other retry settings (`RetryOnConnectFailure`, `RetryOn`, `RetryOnStatusCodes`)',
|
||||||
|
yaml: 'The number of times to retry the request when a retryable result occurs. You cannot set the value to `0`. To disable retries, unset all other retry settings (`retryOnConnectFailure`, `retryOn`, `retryOnStatusCodes`)',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'RetryOnConnectFailure',
|
name: 'RetryOnConnectFailure',
|
||||||
|
|
Loading…
Reference in New Issue