From 55e197fad758fb96c5917e03fe6c34f851a79589 Mon Sep 17 00:00:00 2001 From: Luke Kysow <1034429+lkysow@users.noreply.github.com> Date: Tue, 31 Jan 2023 13:39:03 -0800 Subject: [PATCH] Document how numRetries can't be set to 0 Resolves https://github.com/hashicorp/consul/issues/11816 and https://github.com/hashicorp/consul/issues/8516. --- .../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 3e01850e8a..c0e26a7e2d 100644 --- a/website/content/docs/connect/config-entries/service-router.mdx +++ b/website/content/docs/connect/config-entries/service-router.mdx @@ -699,9 +699,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. This cannot be set to 0 so if you wish 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. This cannot be set to 0 so if you wish to disable retries, unset all other retry settings (`retryOnConnectFailure`, `retryOn`, `retryOnStatusCodes`)', + } }, { name: 'RetryOnConnectFailure',