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

All failing policies show no policies or output #4

Closed
xchapter7x opened this issue Jan 4, 2020 · 0 comments
Closed

All failing policies show no policies or output #4

xchapter7x opened this issue Jan 4, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@xchapter7x
Copy link
Owner

Describe the bug
If there are no policies which pass, then the output should show all failing policies, however it shows the below error.

To Reproduce
Steps to reproduce the behavior:

  1. Run any set of policies which all fail
  2. you will see output that "your given query did not yield any matches"

Expected behavior
All failing tests should be listed as failing and status should be out put to the screen.

Screenshots

-> % helm unit -t templates/ -c values.yaml -c policies/values_test.yaml -p policies -v
your given query did not yield any matches
Error: plugin "unit" exited with error

Additional context
Add any other context about the problem here.

@xchapter7x xchapter7x added the bug Something isn't working label Jan 4, 2020
@xchapter7x xchapter7x self-assigned this Jan 4, 2020
xchapter7x added a commit that referenced this issue Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant