mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Using NewExpressions for cel lazy test.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
This commit is contained in:
parent
b95f9c32d6
commit
9a8d6b72e4
@ -142,8 +142,7 @@ func buildTestEnv() (*cel.Env, *apiservercel.DeclType, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
// TODO: change to NewExpressions after 1.28
|
env, err := envSet.Env(environment.NewExpressions)
|
||||||
env, err := envSet.Env(environment.StoredExpressions)
|
|
||||||
return env, variablesType, err
|
return env, variablesType, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user