-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix mappings #1041
Fix mappings #1041
Conversation
Hey @lrascao thanks for the PR, the code looks good - I'm a little worried that this is a change in behavior which might be used by other users of troposphere (the code for add_mapping is quite old, so there's a decent chance that someone is doing so). Also the term |
I made the tests check the json output, if you try and revert the fix you'll see that the |
ping? |
bump |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, sorry for the radio silence, I missed your last ping!
Thanks! Sorry for the delay. |
* Fix multiple mappings being overwritten * Add test coverage on multiple template mappings
Multiple
template.add_mapping
calls were squashing the previous key, this patch fixes that