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

Take partition label from blivet #5876

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamkankovsky
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the f42 Fedora 42 label Sep 13, 2024
Copy link
Contributor

@KKoukiou KKoukiou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are affected. Please fix.

@@ -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")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can also rename the attribute to "partition-type-name" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f42 Fedora 42
Development

Successfully merging this pull request may close these issues.

2 participants