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

Properly handle skipped plugins in plugin get #4

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

dmcgowan
Copy link
Member

Better handling of skipped plugins. Today it is only used for containerd snapshotters and the filtering is done after the get by type. When using the InitContext interfaces, this should be handled automatically. Currently skipped plugins could cause load errors for other plugins which get by type but do not handle the skip error.

context.go Outdated Show resolved Hide resolved
Copy link
Member

@dims dims left a comment

Choose a reason for hiding this comment

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

LGTM

@AkihiroSuda AkihiroSuda merged commit 7ec6989 into containerd:main Nov 1, 2023
4 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.

5 participants