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

ModuleMetadata: gracefully handle modules with no defaults #1299

Merged

Conversation

jlebon
Copy link
Contributor

@jlebon jlebon commented Jul 26, 2021

Not all modules have defaults. Check for this and return early to avoid
calling additional functions which assume the object isn't NULL.

Not all modules have defaults. Check for this and return early to avoid
calling additional functions which assume the object isn't `NULL`.
@jlebon
Copy link
Contributor Author

jlebon commented Jul 26, 2021

Related: fedora-modularity/libmodulemd#575

@j-mracek
Copy link
Contributor

LGTM

@j-mracek j-mracek merged commit 6064b73 into rpm-software-management:dnf-4-master Aug 20, 2021
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.

2 participants