From cb8dbf802182c2dbd18c83ffca3151db08f49c94 Mon Sep 17 00:00:00 2001 From: Juan Manuel Leflet Estrada Date: Fri, 15 Nov 2024 13:42:10 +0100 Subject: [PATCH] Fix test Signed-off-by: Juan Manuel Leflet Estrada --- engine/engine_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/engine_test.go b/engine/engine_test.go index e1a7ce32..2a77fa17 100644 --- a/engine/engine_test.go +++ b/engine/engine_test.go @@ -68,7 +68,7 @@ func (t testChainableConditionalFrom) Ignorable() bool { func (t testChainableConditionalFrom) Evaluate(ctx context.Context, log logr.Logger, condCtx ConditionContext) (ConditionResponse, error) { if v, ok := condCtx.Template[t.FromName]; ok { - if reflect.DeepEqual(v.Extras[t.DocumentedKey], t.FromValue) { + if reflect.DeepEqual(v.extras[t.DocumentedKey], t.FromValue) { return ConditionResponse{ Matched: true, TemplateContext: map[string]interface{}{},