Skip to content
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 tag name partial match and tag binning #97

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeckhart
Copy link

This should fix a case where tags can match on partial names. For example, I had some AMI's with tags named "image-size" and "image-size-name". When using amicleaner I was passing in image-size-name as a mapping value, but seeing matches on image-size instead.

Additionally, there was another case where if two tags had the same value they could be mapped to the same bin.

I've added tests to test for both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant