-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
machines: Fix default volume format detection in Disk Add dialog
Previously we were correctly calling the getDefaultVolumeFormat when opening the dialog, thus the default format for the preselected pool was correctly detected. However, when a user changed so some other pool, we didn't re-detect the default format, which was problematic if the user didn't change the preseleted format afterwards. This commit also adjusts the relevant test which didn't fail before because the problematic pool was first on the list so the getDefaultVolumeFormat was correctly called in the dialog constructor. Relevant to https://bugzilla.redhat.com/show_bug.cgi?id=1833198 Closes #14201 Cherry-picked from master commit 2cd9bf.
- Loading branch information
1 parent
0eb98c4
commit 93ab723
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters