Fix typos in cel.md

Signed-off-by: Guangwen Feng <fenggw-fnst@fujitsu.com>
This commit is contained in:
Guangwen Feng 2023-03-16 01:59:16 +08:00
parent f63f2ab2a4
commit 1ee40c20bd
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ type checking even when the `namex` field is not defined for the resource kinds
that `object` refers to, because `object` is dynamically typed. that `object` refers to, because `object` is dynamically typed.
The `has()` macro in CEL may be used in CEL expressions to check if a field of a The `has()` macro in CEL may be used in CEL expressions to check if a field of a
dynamically typed variable is accessable before attempting to access the field's dynamically typed variable is accessible before attempting to access the field's
value. For example: value. For example:
```cel ```cel
@ -257,7 +257,7 @@ features are used to prevent CEL evaluation from consuming excessive API server
resources. resources.
A key element of the resource constraint features is a _cost unit_ that CEL A key element of the resource constraint features is a _cost unit_ that CEL
defines as a way of tracking CPU utilization. Cost units are independant of defines as a way of tracking CPU utilization. Cost units are independent of
system load and hardware. Cost units are also deterministic; for any given CEL system load and hardware. Cost units are also deterministic; for any given CEL
expression and input data, evaluation of the expression by the CEL interpreter expression and input data, evaluation of the expression by the CEL interpreter
will always result in the same cost. will always result in the same cost.