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 Mar 27, 2018
1 parent cd1068f commit c8cbb6b
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 c8cbb6b

Please sign in to comment.