Skip to content

Commit

Permalink
Take partition label from blivet
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkankovsky committed Sep 13, 2024
1 parent 0e141c0 commit 198bca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanaconda/modules/storage/devicetree/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _set_device_data(self, device, data):
data.attrs["uuid"] = self._get_attribute(device, "uuid")

if isinstance(device, PartitionDevice):
data.attrs["partition-label"] = self._get_attribute(device.parted_partition, "name")
data.attrs["partition-label"] = self._get_attribute(device, "part_type_name")

def _set_device_data_dasd(self, device, data):
"""Set data for a DASD device."""
Expand Down

0 comments on commit 198bca9

Please sign in to comment.