-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Updated salt/modules/disk.py to fix postPrefixes by a factor of 10. p… #65543
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
base: master
Are you sure you want to change the base?
Conversation
…ostPrefixes renamed to unit_suffixes as per themowski's suggestions.
We'll need unit tests around |
@s0undt3ch added unit test for the PR |
@vib795 IMHO, just a minor thought, but it may be more symmetrical and slightly easier to read if they are formatted the same way |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a changelog. Please migrate the test to pytests.
What does this PR do?
What issues does this PR fix or reference?
Fixes: #65490
Previous Behavior
1.0K gives 10000.0
New Behavior
1.0K should give 1000.0
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Yes/No
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.