Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
  • Loading branch information
eddycharly committed Sep 19, 2024
1 parent 6b4fd8e commit 6f1f9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/template/binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewContextBinding(path *field.Path, bindings binding.Bindings, value any, t
}
return projected, nil
case expression.EngineCEL:
projected, err := template.ExecuteCEL(context.Background(), expr.Statement, value, bindings)
projected, err := ExecuteCEL(context.Background(), expr.Statement, value, bindings)
if err != nil {
return nil, field.InternalError(path.Child("variable"), err)
}

Check warning on line 35 in pkg/engine/template/binding.go

View check run for this annotation

Codecov / codecov/patch

pkg/engine/template/binding.go#L34-L35

Added lines #L34 - L35 were not covered by tests
Expand Down

0 comments on commit 6f1f9c6

Please sign in to comment.