Skip to content

Commit

Permalink
Merge pull request #5037 from vojtechtrefny/master_obsolete-btrfs-for…
Browse files Browse the repository at this point in the history
…mat-check-remove

webui: Remove obsolete check for btrfs reformat support
  • Loading branch information
vojtechtrefny authored Aug 15, 2023
2 parents 61828cd + dbdbd56 commit c346d1b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ui/webui/src/components/storage/MountPointMapping.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ const MountPointMappingContent = ({ deviceData, partitioningData, dispatch, idPr
}, [deviceData, requests, setIsFormValid]);

const handleRequestChange = (mountpoint, device, newRequestId, reformat) => {
const data = deviceData[device];
const _requests = requests.map(row => {
const newRow = { ...row };
if (row["request-id"] === newRequestId) {
Expand All @@ -449,11 +448,6 @@ const MountPointMappingContent = ({ deviceData, partitioningData, dispatch, idPr
newRow.reformat = false;
}

// TODO: Anaconda does not support formatting btrfs yet
if (row["device-spec"] !== device && data?.["format-type"] === "btrfs") {
newRow.reformat = false;
}

// Always reformat the root partition
if (mountpoint === "/") {
newRow.reformat = true;
Expand Down

0 comments on commit c346d1b

Please sign in to comment.