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

Use common library function for getting the module name #242

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

jsturtevant
Copy link
Contributor

Quick follow up to #219 and #156

Copy link
Collaborator

@jprendes jprendes left a comment

Choose a reason for hiding this comment

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

LGTM!

Mossaka
Mossaka previously approved these changes Aug 16, 2023
Copy link
Member

@Mossaka Mossaka left a comment

Choose a reason for hiding this comment

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

LGTM! Left one minor comment.

let (module_name, _method) = oci::get_module(spec);
let module_name = match module_name {
Some(m) => m,
None => return false,
Copy link
Member

Choose a reason for hiding this comment

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

Could you please add a debug!() or info!() here for logging why can_handle returns a false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added info statement PTAL

Signed-off-by: James Sturtevant <[email protected]>
@Mossaka
Copy link
Member

Mossaka commented Aug 16, 2023

Ill merge once the CI passes.

@Mossaka Mossaka merged commit 0a2e3a1 into containerd:main Aug 16, 2023
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