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

[bugfix] Remove erroneous policy check #107

Merged

Conversation

domenicbozzuto
Copy link

Fixes an issue introduced in #105; I originally added an additional nil check for the resourcePolicy field from the VPA, based on the similar checks in the capping processor. However, this resulted in a case where the filtering processor would have a recommendation set but no policy, and exit without removing the fields that needed to be filtered.

This removes that erroneous check.

@domenicbozzuto domenicbozzuto merged commit 2ff06d5 into datadog-master-vpa-0.13.0 Apr 23, 2024
6 checks passed
@domenicbozzuto domenicbozzuto deleted the dom.bozzuto/remove-policy-check branch April 23, 2024 18:20
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.

2 participants