Skip to content

Commit

Permalink
Update common.go
Browse files Browse the repository at this point in the history
  • Loading branch information
seungsoo-lee authored Mar 12, 2024
1 parent c09726f commit 493d578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/processor/policybuilder/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 493d578

Please sign in to comment.