From 9f600d28297d0a0717c258fea6b141db83baf4f4 Mon Sep 17 00:00:00 2001 From: Sajad Date: Tue, 31 May 2022 02:46:51 +0530 Subject: [PATCH] keep the original extactor var for multiple results while preparing data for matchers (#1948) --- v2/pkg/operators/operators.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v2/pkg/operators/operators.go b/v2/pkg/operators/operators.go index 7f5c40ed..82bbe6f1 100644 --- a/v2/pkg/operators/operators.go +++ b/v2/pkg/operators/operators.go @@ -228,6 +228,7 @@ func (operators *Operators) Execute(data map[string]interface{}, match MatchFunc dynKeyName := fmt.Sprintf("%s%d", dynName, dynIndex) dataDynamicValues[dynKeyName] = dynValue } + dataDynamicValues[dynName] = dynValues } else { dataDynamicValues[dynName] = dynValues[0] }