Skip to content

Commit

Permalink
Stop looping on eq failure
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Jun 16, 2022
1 parent 9a44ca0 commit 7d97edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connor/eq.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func eq(condition, data interface{}) (bool, error) {
for prop, cond := range cn {
if !m {
// No need to evaluate after we fail
continue
break
}

mm, err := matchWith(prop.GetOperatorOrDefault("_eq"), cond, prop.GetProp(data))
Expand Down

0 comments on commit 7d97edd

Please sign in to comment.