Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmaggiowski committed Apr 27, 2023
1 parent b293a5e commit 706d53c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/opatranslator/opa_translator.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (c *OPAClient) ProcessQuery(pq *rego.PartialQueries) (bson.M, error) {
return nil, nil
}
stringifiedOperator := expr.Operator().String()
fmt.Printf("STRINGIFIED TRANSLATOR IS %s\n", stringifiedOperator)
operationHandled := HandleOperations(stringifiedOperator, pipeline, processedTerm[1], value)
if !operationHandled {
return nil, fmt.Errorf("invalid expression: operator not supported: %v", expr.Operator().String())
Expand Down

0 comments on commit 706d53c

Please sign in to comment.