From 493d57868e4754df424eba4e9490735f88967096 Mon Sep 17 00:00:00 2001 From: Seungsoo Lee Date: Tue, 12 Mar 2024 19:47:54 +0900 Subject: [PATCH] Update common.go --- pkg/processor/policybuilder/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/processor/policybuilder/common.go b/pkg/processor/policybuilder/common.go index a8ab4250..e386cd92 100644 --- a/pkg/processor/policybuilder/common.go +++ b/pkg/processor/policybuilder/common.go @@ -68,7 +68,7 @@ func ProcessCEL(ctx context.Context, k8sClient client.Client, namespace string, if err != nil { logger.Info("Error evaluating CEL expression for pod", "PodName", pod.Name, "error", err.Error()) // Instead of returning an error immediately, we log the error and continue. - break + continue } if outValue, ok := out.Value().(bool); ok && outValue {