Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(plugin): resolve a closure #1207

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Conversation

afdesk
Copy link
Contributor

@afdesk afdesk commented Sep 2, 2021

There is a closure inside a function for Action field: variable p always refers on the last plugin.
solution: redefine variable inside the for loop.

Fixes #1086

There is a closure inside a function for Action field: variable p always refers on the last plugin.
solution: redefine variable inside the for loop.

Fixes aquasecurity#1086
@knqyf263 knqyf263 merged commit 0e777d3 into aquasecurity:main Sep 2, 2021
@knqyf263
Copy link
Collaborator

knqyf263 commented Sep 2, 2021

Awesome!

liamg pushed a commit that referenced this pull request Jun 7, 2022
There is a closure inside a function for Action field: variable p always refers on the last plugin.
solution: redefine variable inside the for loop.

Fixes #1086
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trivy Executing Incorrect Plugin.
2 participants