Skip to content

Commit

Permalink
Turn off strict validation of modulemd documents (RhBug:2004853,20071…
Browse files Browse the repository at this point in the history
  • Loading branch information
kontura authored and j-mracek committed Oct 5, 2021
1 parent 8655c99 commit 1c78bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libdnf/module/modulemd/ModuleMetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void ModuleMetadata::addMetadataFromString(const std::string & yaml, int priorit
g_autoptr(GPtrArray) failures = NULL;

ModulemdModuleIndex * mi = modulemd_module_index_new();
gboolean success = modulemd_module_index_update_from_string(mi, yaml.c_str(), TRUE, &failures, &error);
gboolean success = modulemd_module_index_update_from_string(mi, yaml.c_str(), FALSE, &failures, &error);
if(!success){
ModuleMetadata::reportFailures(failures);
}
Expand Down

0 comments on commit 1c78bc8

Please sign in to comment.