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

Add commit callbacks to inst_prepdisk #1336

Merged
merged 2 commits into from May 5, 2023

Conversation

joseivanlopez
Copy link
Contributor

@joseivanlopez joseivanlopez commented May 4, 2023

Problem

Agama uses the inst_prepdisk client to perform the required storage actions. That client calls to the storage commit action, which uses the default commit callbacks from YaST to report the errors.

Agama needs to provide its own callbacks, see openSUSE/agama#558.

Solution

Allows to pass commit callbacks to the inst_prepdisk client.

@joseivanlopez joseivanlopez marked this pull request as ready for review May 5, 2023 10:57
@coveralls
Copy link

Coverage Status

Coverage: 97.75% (+0.0002%) from 97.75% when pulling 6353853 on joseivanlopez:commit-callbacks into 2bd8630 on yast:master.

Copy link
Contributor

@ancorgs ancorgs left a comment

Choose a reason for hiding this comment

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

LGTM

@joseivanlopez joseivanlopez merged commit 1a37459 into yast:master May 5, 2023
9 checks passed
@yast-bot
Copy link

yast-bot commented May 5, 2023

✔️ Public Jenkins job #463 successfully finished
✔️ Created OBS submit request #1085053

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.

None yet

4 participants