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

vendor: drop libpod in runner package #529

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

haircommander
Copy link
Collaborator

initially the hope of the runner package was to be a library that podman and cri-o used, but that never happened. now, it's just for tests. As such, we can use different errors and reduce the vendor surface area of conmon

@haircommander haircommander force-pushed the drop-libpod branch 4 times, most recently from 1782ea3 to e910376 Compare September 20, 2024 16:29
@rhatdan
Copy link
Member

rhatdan commented Sep 20, 2024

LGTM

// And copied to reduce the vendor surface area of this library
var (
// ErrInternal indicates an internal library error
ErrInternal = fmt.Errorf("internal libpod error")
Copy link
Member

Choose a reason for hiding this comment

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

Would it make sense to rename the error message to:

Suggested change
ErrInternal = fmt.Errorf("internal libpod error")
ErrInternal = fmt.Errorf("internal error")

@kwilczynski
Copy link
Member

/approve
/lgtm

@rhatdan rhatdan merged commit 900afa1 into containers:main Sep 23, 2024
27 of 29 checks passed
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.

3 participants