Skip to content

Commit 0158fb8

Browse files
authored
Merge pull request #46707 from waltforme/cel
Fix mismatched parentheses in cel.md
2 parents 669d843 + b91d36d commit 0158fb8

File tree

1 file changed

+2
-2
lines changed
  • content/en/docs/reference/using-api

1 file changed

+2
-2
lines changed

content/en/docs/reference/using-api/cel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Example CEL expressions:
5959
| `self.metadata.name == 'singleton'` | Validate that an object's name matches a specific value (making it a singleton) |
6060
| `self.set1.all(e, !(e in self.set2))` | Validate that two listSets are disjoint |
6161
| `self.names.size() == self.details.size() && self.names.all(n, n in self.details)` | Validate the 'details' map is keyed by the items in the 'names' listSet |
62-
| `self.details.all(key, key.matches('^[a-zA-Z]*$')` | Validate the keys of the 'details' map |
63-
| `self.details.all(key, self.details[key].matches('^[a-zA-Z]*$')` | Validate the values of the 'details' map |
62+
| `self.details.all(key, key.matches('^[a-zA-Z]*$'))` | Validate the keys of the 'details' map |
63+
| `self.details.all(key, self.details[key].matches('^[a-zA-Z]*$'))` | Validate the values of the 'details' map |
6464
{{< /table >}}
6565

6666
## CEL options, language features, and libraries

0 commit comments

Comments
 (0)