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

Make sure that LUKS.has_key always returns a boolean value #1142

Merged

Conversation

vojtechtrefny
Copy link
Member

We don't want to return 'None' here.

Related: rhinstaller/anaconda#4873

Copy link
Contributor

@poncovka poncovka left a comment

Choose a reason for hiding this comment

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

Thanks! Btw. I think there are three different definitions of has_key that look like this.

Copy link
Contributor

@jkonecny12 jkonecny12 left a comment

Choose a reason for hiding this comment

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

Thanks for the fix.

@vojtechtrefny
Copy link
Member Author

Thanks! Btw. I think there are three different definitions of has_key that look like this.

Oh, I forgot about Stratis. Fixed, thanks.

Copy link
Contributor

@japokorn japokorn left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@vojtechtrefny vojtechtrefny merged commit 1428b2e into storaged-project:3.8-devel Jul 13, 2023
4 of 5 checks passed
vojtechtrefny added a commit to vojtechtrefny/anaconda that referenced this pull request Jul 19, 2023
LUKS.has_key was changed to always return boolean in the latest
blivet (see storaged-project/blivet#1142)
so we need to change expected value here.
VladimirSlavik pushed a commit to vojtechtrefny/anaconda that referenced this pull request Jul 21, 2023
LUKS.has_key was changed to always return boolean in the latest
blivet (see storaged-project/blivet#1142)
so we need to change expected value here.
VladimirSlavik pushed a commit to vojtechtrefny/anaconda that referenced this pull request Jul 21, 2023
LUKS.has_key was changed to always return boolean in the latest
blivet (see storaged-project/blivet#1142)
so we need to change expected value here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants