From e8606d20280f8a015201062f1d02fe736f784d38 Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Mon, 6 Feb 2023 11:20:30 -0600 Subject: [PATCH] Backport of Document how numRetries can't be set to 0 into release/1.14.x (#16168) * backport of commit 55e197fad758fb96c5917e03fe6c34f851a79589 * backport of commit 1a6cf311c59d6db1573da360e73e702adbb4d96d --------- Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com> --- .../docs/connect/config-entries/service-router.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/content/docs/connect/config-entries/service-router.mdx b/website/content/docs/connect/config-entries/service-router.mdx index a1358a25f9..b19365ad82 100644 --- a/website/content/docs/connect/config-entries/service-router.mdx +++ b/website/content/docs/connect/config-entries/service-router.mdx @@ -704,9 +704,11 @@ spec: }, { name: 'NumRetries', - type: 'int: 0', - description: - 'The number of times to retry the request when a retryable result occurs.', + type: 'int: 1', + description: { + 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',