mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
DRA CEL: avoid redundant cel.CostTracking
It's already called by the base environment.
This commit is contained in:
parent
5e514f5fcb
commit
39f2592863
@ -136,7 +136,6 @@ func (c compiler) CompileCELExpression(expression string, envType environment.Ty
|
||||
// This call here should override that. In practice it shouldn't
|
||||
// matter because the limits are the same.
|
||||
cel.CostLimit(resourceapi.CELSelectorExpressionMaxCost),
|
||||
cel.CostTracking(estimator),
|
||||
cel.InterruptCheckFrequency(celconfig.CheckFrequency),
|
||||
)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user