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

[release-0.2] balloons: use new config more consistently. #189

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

klihub
Copy link
Collaborator

@klihub klihub commented Nov 3, 2023

Don't delay updating stored configuration when reconfiguring the policy. Some functions in the call-tree (for instance newBalloon()), use the stored options, so they could end up using old data otherwise.

This PR is a cherry-pick of #188.

Don't delay updating stored config when reconfiguring the policy.
Some functions in the call-tree (e.g. newBalloon()) picks options
using p.bpoptions, so otherwise they would end up using old data.

Signed-off-by: Krisztian Litkey <[email protected]>
@klihub klihub requested a review from askervin November 3, 2023 11:01
Copy link
Collaborator

@askervin askervin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@askervin askervin merged commit 66bdaa4 into containers:release-0.2 Nov 3, 2023
2 checks passed
askervin added a commit to askervin/cri-resource-manager that referenced this pull request Nov 3, 2023
Backported from containers/nri-plugins#189.

Signed-off-by: Krisztian Litkey <[email protected]>
Signed-off-by: Antti Kervinen <[email protected]>
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