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

--volume-id-in-tag completely broken #29

Open
danielbeardsley opened this issue Mar 2, 2016 · 2 comments
Open

--volume-id-in-tag completely broken #29

danielbeardsley opened this issue Mar 2, 2016 · 2 comments

Comments

@danielbeardsley
Copy link

This feature was very useful, but it was broken by 2aff77c

It's broken in two ways:

  • We select all snapshots that have the given tag, regardless of its value.
  • We AND that with volume_id =

So, if you specify the --volume-id-in-tag TAG option, the list of snapshots is effectively has_tag('TAG') AND volume_id == 'TAG'. It should be one or the other and it should be filtering on tag value, not just presence.

@clewis
Copy link

clewis commented Mar 5, 2016

I'm seeing the same thing. I'll have a PR shortly.

@clewis
Copy link

clewis commented Mar 5, 2016

@danielbeardsley , can you try out #30 ?

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

No branches or pull requests

2 participants