Skip to content

Commit

Permalink
initial 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 58f2425 commit 7622faf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ import data.generic.k8s as k8sLib
CxPolicy[result] {
document := input.document[i]
specInfo := k8sLib.getSpecInfo(document)
spec := specInfo.spec

metadata := document.metadata

spec := specInfo.spec

document.kind == "Pod"

not common_lib.valid_key(spec, "securityContext")
Expand Down

0 comments on commit 7622faf

Please sign in to comment.