You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cel/environment/base.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ package environment
18
18
19
19
import (
20
20
"fmt"
21
-
"github.com/google/cel-go/checker"
22
-
"github.com/google/cel-go/interpreter"
23
21
"strconv"
24
22
"sync"
25
23
26
24
"github.com/google/cel-go/cel"
25
+
"github.com/google/cel-go/checker"
27
26
"github.com/google/cel-go/ext"
27
+
"github.com/google/cel-go/interpreter"
28
28
"golang.org/x/sync/singleflight"
29
29
30
30
"k8s.io/apimachinery/pkg/util/version"
@@ -64,13 +64,15 @@ var baseOpts = []VersionedOptions{
64
64
library.Lists(),
65
65
66
66
// cel-go v0.17.7 change the cost of has() from 0 to 1, but also provided the CostEstimatorOptions option to preserve the old behavior, so we enabled it at the same time we bumped our cel version to v0.17.7.
67
+
// Since it is a regression fix, we apply it uniformly to all code use v0.17.7.
// cel-go v0.17.7 change the cost of has() from 0 to 1, but also provided the CostEstimatorOptions option to preserve the old behavior, so we enabled it at the same time we bumped our cel version to v0.17.7.
75
+
// Since it is a regression fix, we apply it uniformly to all code use v0.17.7.
0 commit comments