Skip to content

Commit 0dd241e

Browse files
author
Dave Johnston
committed
(MAINT) Print the warning
1 parent 839b7d3 commit 0dd241e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

evaluation/feature.go

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ package evaluation
33
import (
44
"encoding/json"
55
"fmt"
6-
7-
"github.com/labstack/gommon/log"
8-
9-
"github.com/drone/ff-golang-server-sdk/types"
10-
116
"reflect"
127
"strconv"
8+
9+
"github.com/drone/ff-golang-server-sdk/types"
1310
)
1411

1512
const (
@@ -89,8 +86,7 @@ func (c Clauses) Evaluate(target *Target, segments Segments) bool {
8986
// operator should be evaluated based on type of attribute
9087
op, err := target.GetOperator(clause.Attribute)
9188
if err != nil {
92-
log.Warn(err)
93-
//return false
89+
fmt.Print(err)
9490
}
9591
if !clause.Evaluate(target, segments, op) {
9692
return false

0 commit comments

Comments
 (0)