From 3b2d389ce1c8caf16cebf4ce6ce7f846a6071b1c Mon Sep 17 00:00:00 2001 From: Carlos Mendes Date: Sat, 27 Apr 2024 15:07:35 -0300 Subject: [PATCH] fix retry configuration --- .../resiliencebench/execution/istio/steps/IstioRetryStep.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resilience-bench/operator/src/main/java/io/resiliencebench/execution/istio/steps/IstioRetryStep.java b/resilience-bench/operator/src/main/java/io/resiliencebench/execution/istio/steps/IstioRetryStep.java index 824efbe..018db04 100644 --- a/resilience-bench/operator/src/main/java/io/resiliencebench/execution/istio/steps/IstioRetryStep.java +++ b/resilience-bench/operator/src/main/java/io/resiliencebench/execution/istio/steps/IstioRetryStep.java @@ -27,7 +27,7 @@ public VirtualService execute(Scenario scenario, ExecutionQueue executionQueue) var targetService = findVirtualService( scenario.getMetadata().getNamespace(), - scenario.getSpec().getTargetServiceName() + scenario.getSpec().getSourceServiceName() ); // TODO verify if the virtual service already has a retry. if yes, update it