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

storage: pass configured swap partition in the cockpit_mount_points #19883

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

KKoukiou
Copy link
Contributor

@KKoukiou KKoukiou commented Jan 24, 2024

I have a test for that at rhinstaller/anaconda-webui#72

@KKoukiou KKoukiou requested a review from mvollmer January 25, 2024 15:21
mpm[dir] = utils.decode_filename(b.PreferredDevice);
mpm[dir] = device;
if (type === "swap")
mpm[type] = device;
Copy link
Member

Choose a reason for hiding this comment

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

So what about mpm[device] = { dir, type }? I would be much happier with that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes! I like it.

Copy link
Member

Choose a reason for hiding this comment

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

But you don't want to do this in this PR?

@mvollmer mvollmer self-assigned this Jan 29, 2024
@mvollmer mvollmer self-requested a review January 30, 2024 07:17
@mvollmer mvollmer merged commit b3f930e into cockpit-project:main Jan 30, 2024
91 of 95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants