From 3a887bd79a5a24209e4090d7b63191840bd15be8 Mon Sep 17 00:00:00 2001 From: Sanskar Jaiswal Date: Mon, 18 Dec 2023 17:36:47 +0530 Subject: [PATCH] istio: make retry attempts a mandatory field Signed-off-by: Sanskar Jaiswal --- pkg/apis/istio/v1alpha3/virtual_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/istio/v1alpha3/virtual_service.go b/pkg/apis/istio/v1alpha3/virtual_service.go index 5060bd1b1..75c391f74 100644 --- a/pkg/apis/istio/v1alpha3/virtual_service.go +++ b/pkg/apis/istio/v1alpha3/virtual_service.go @@ -725,7 +725,7 @@ type HTTPRetry struct { // REQUIRED. Number of retries for a given request. The interval // between retries will be determined automatically (25ms+). Actual // number of retries attempted depends on the httpReqTimeout. - Attempts int `json:"attempts,omitempty"` + Attempts int `json:"attempts"` // Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms. MUST BE >=1ms. PerTryTimeout string `json:"perTryTimeout,omitempty"`