Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Manuel Leflet Estrada <[email protected]>
  • Loading branch information
jmle committed Nov 15, 2024
1 parent cc85616 commit cb8dbf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{},
Expand Down

0 comments on commit cb8dbf8

Please sign in to comment.