Skip to content

Commit

Permalink
another try to fix defer assignment regal lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturRibeiro-CX committed Mar 2, 2025
1 parent 7622faf commit 65d2044
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ CxPolicy[result] {
specInfo := k8sLib.getSpecInfo(document)
spec := specInfo.spec

metadata := document.metadata

document.kind == "Pod"

not common_lib.valid_key(spec, "securityContext")
metadata := document.metadata

result := {
"documentId": document.id,
Expand Down

0 comments on commit 65d2044

Please sign in to comment.