Skip to content

Commit

Permalink
modules: Fix ModuleProfile::is_default method
Browse files Browse the repository at this point in the history
The previously used `modulemd_profile_is_default` gets the information
about defaults from modulemd-packager yaml document, which is available
when building a module, but doesn't work for modules after building.
  • Loading branch information
pkratoch committed Oct 26, 2023
1 parent d9ea5d7 commit 51fdf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libdnf5/module/module_profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ bool ModuleProfile::is_default() const {
if (!profile) {
return {};
}
return modulemd_profile_is_default(profile);
return is_default_profile;
}


Expand Down

0 comments on commit 51fdf76

Please sign in to comment.