We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
unused-output-variable
i is here incorrectly flagged as an unused-output-variable:
i
rule if { [i | some i foo[i] ] }
The issue seems to be isolated to rule bodies, or at least bodies. This isn't flagged:
rule := [i | some i foo[i] ]
The text was updated successfully, but these errors were encountered:
Another false positive found when working with the Gatekeeper Library today:
provided := {annotation | input.review.object.metadata.annotations[annotation]}
Which incorrectly flags annotation as unused
annotation
Sorry, something went wrong.
Fix false positive in unused-output-variable
0534b47
Comprehension term vars are never unused, and should not be flagged. Fixes #1353 Signed-off-by: Anders Eknert <anders@styra.com>
a4e3592
Successfully merging a pull request may close this issue.
i
is here incorrectly flagged as an unused-output-variable:The issue seems to be isolated to rule bodies, or at least bodies. This isn't flagged:
The text was updated successfully, but these errors were encountered: