Skip to content

Fix tag name partial match and tag binning#97

Open
jeckhart wants to merge 2 commits into
bonclay7:masterfrom
jeckhart:fix-tag-name-partial-match
Open

Fix tag name partial match and tag binning#97
jeckhart wants to merge 2 commits into
bonclay7:masterfrom
jeckhart:fix-tag-name-partial-match

Conversation

@jeckhart
Copy link
Copy Markdown

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