Skip to content

Commit 4f4db77

Browse files
committed
remove debug print
1 parent 36c40fa commit 4f4db77

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

correlation/cache/operators.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ func compare(operator, val1, val2 string) bool {
159159

160160
func evalElement(elem, field, operator, value string) bool {
161161
if elem := gjson.Get(elem, field); elem.Exists() {
162-
raw := elem
163-
fmt.Printf("raw: %s\n", raw)
164-
return compare(operator, raw.String(), value)
162+
return compare(operator, elem.String(), value)
165163
} else if operator == "not exist" {
166164
return true
167165
}

0 commit comments

Comments
 (0)