From 526a1b8827e7ade4149f3097ec7e8afb63352e88 Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Tue, 23 Dec 2025 14:05:14 +0545 Subject: [PATCH] fix: Add `type` as a cel keyword fixes: ERROR: :-1:0: overlapping identifier for name 'type' related: https://github.com/flanksource/mission-control/issues/2640 --- cel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cel.go b/cel.go index 1323d9caf..9ca8ab1f9 100644 --- a/cel.go +++ b/cel.go @@ -68,6 +68,7 @@ var celKeywords = map[string]struct{}{ "var": {}, "void": {}, "while": {}, + "type": {}, } var celIdentifierRegexp = regexp.MustCompile(`^[A-Za-z_][A-Za-z0-9_]*$`)