Skip to content

Commit

Permalink
remove temporary tokens from expression hash after substitution. Keep…
Browse files Browse the repository at this point in the history
…ing token will make expression evaluation failed.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1558926
  • Loading branch information
yrudman committed Apr 4, 2018
1 parent 9e95f2b commit 40ba300
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/miq_expression/subst_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def exp_replace_qs_tokens(exp, tokens)
end
exp[key]["value"] = value # Replace the exp value with the proper qs value
end
exp.delete(:token)
end
end

Expand Down

0 comments on commit 40ba300

Please sign in to comment.