Skip to content

Commit

Permalink
more comment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Oct 9, 2023
1 parent 23ddd78 commit 72d2502
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pipeline/ruleset.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,13 @@ func matches(r *Rules, from *RuleData, matcher, path, logic string) (bool, error

var err error

// override the default to the "or"
if len(from.Status) != 0 {
status, err = r.Status.Match(from.Status, matcher, logic)
if err != nil {
return false, err
}
}
// return true if any ruletype matches the ruledata

matchBranch, err := r.Branch.Match(from.Branch, matcher, logic)
if err != nil {
return false, err
Expand Down

0 comments on commit 72d2502

Please sign in to comment.