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: Resource Manager: Filter stats correctly by % #9476

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

ajnavarro
Copy link
Member

@ajnavarro ajnavarro commented Dec 7, 2022

As per #9001 min-used-limit-perc was intended to be used only on the all scope.

Fixed the percentage calculation to be more precise and added a sharness test checking error output.

It closes #9473

Signed-off-by: Antonio Navarro Perez [email protected]

@ajnavarro ajnavarro merged commit d16e63a into master Dec 7, 2022
@ajnavarro ajnavarro deleted the ajnavarro/fix/filter-correctly-by-percentage branch December 7, 2022 17:05
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.

swarm stats --min-used-limit-perc doesn't work for "all" scope
2 participants