We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug A clear and concise description of what the bug is.
Note that any how to questions should be posted in the discussion board and not raised as an issue.
Version of yq: 4.13.3
Input Yaml Concise yaml document(s) (as simple as possible to show the bug, please keep it to 10 lines or less) data1.yml:
servers: - name: server-1 tags: - foo - name: server-2 tags: - bar - name: server-3 tags: - foo - bar
Command The command you ran:
yq e '.servers[] | select(.tags[] | contains("bar")) | .name' test.yaml
Actual behavior
server-2
Expected behavior
server-2 server-3
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Fixed select bug (#958)
839f795
Raised on behalf of @mexoboy
Sorry, something went wrong.
Fixed in 4.13.4
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
Note that any how to questions should be posted in the discussion board and not raised as an issue.
Version of yq: 4.13.3
Input Yaml
Concise yaml document(s) (as simple as possible to show the bug, please keep it to 10 lines or less)
data1.yml:
Command
The command you ran:
Actual behavior
server-2
Expected behavior
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: