Skip to content

Commit

Permalink
Merge branch 'manuelbua-fix-default-matchers-condition'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Jul 6, 2020
2 parents 257d968 + e25ee65 commit 3e07576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/pkg/templates/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Parse(file string) (*Template, error) {
// Get the condition between the matchers
condition, ok := matchers.ConditionTypes[request.MatchersCondition]
if !ok {
request.SetMatchersCondition(matchers.ANDCondition)
request.SetMatchersCondition(matchers.ORCondition)
} else {
request.SetMatchersCondition(condition)
}
Expand Down Expand Up @@ -73,7 +73,7 @@ func Parse(file string) (*Template, error) {
// Get the condition between the matchers
condition, ok := matchers.ConditionTypes[request.MatchersCondition]
if !ok {
request.SetMatchersCondition(matchers.ANDCondition)
request.SetMatchersCondition(matchers.ORCondition)
} else {
request.SetMatchersCondition(condition)
}
Expand Down

0 comments on commit 3e07576

Please sign in to comment.