Skip to content

Commit

Permalink
If any matching evidence is found, step should pass
Browse files Browse the repository at this point in the history
Signed-off-by: John Kjell <[email protected]>
  • Loading branch information
jkjell committed May 23, 2024
1 parent d23e5ec commit ecf695a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion policy/step.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type StepResult struct {
// in order to save the failure reasons so we can present them all at the end of the verification process.
func (r StepResult) Analyze() bool {
var pass bool
if len(r.Passed) > 0 && len(r.Rejected) == 0 {
if len(r.Passed) > 0 {
pass = true
}

Expand Down

0 comments on commit ecf695a

Please sign in to comment.