这是indexloc提供的服务,不要输入任何密码
Skip to content

All failing policies show no policies or output #4

@xchapter7x

Description

@xchapter7x

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions