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 ValueError when trying to set both upper and lower size limits #239

Merged

Conversation

vojtechtrefny
Copy link
Member

No description provided.

Removed the installer_mode argument in PR storaged-project#212 by accident.
When changing size limits in the add dialog from something like
(1 MiB, 2 MiB) to (256 MiB, 1 GiB) blivet-gui crashes because we
try to change the lower limit to value greater than the upper
limit which normally doesn't make sense when changing only one of
the limits but is valid when changing both.
This change adds a new function to change both limits with one
call that makes sure the limits are changed in the correct order.

Resolves: rhbz#1881472
@vojtechtrefny vojtechtrefny merged commit 10e58f4 into storaged-project:master Sep 25, 2020
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.

None yet

1 participant