Skip to content

Commit

Permalink
handle complex types for variable substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBugwadia committed Nov 25, 2020
1 parent f304be6 commit 52d8977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/variables/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func subValR(log logr.Logger, ctx context.EvalInterface, valuePattern string, pa
}

if substitutedVar != nil {
if originalPattern == variable {
if originalPattern == v {
return substitutedVar, nil
}

Expand Down

0 comments on commit 52d8977

Please sign in to comment.