Merge branch 'manuelbua-fix-default-matchers-condition'

dev
Mzack9999 2020-07-06 20:50:40 +02:00
commit 3e075768ad
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
@ -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)
}