Log warning when module defined in variants.xml not found

JIRA: RHELCMP-5573
Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
Haibo Lin 2021-06-25 14:55:23 +08:00
parent bf28e8d50c
commit 9a5e901cfe

View File

@ -659,7 +659,7 @@ def _get_modules_from_koji_tags(
if expected_modules:
# There are some module names that were listed in configuration and not
# found in any tag...
raise RuntimeError(
compose.log_warning(
"Configuration specified patterns (%s) that don't match "
"any modules in the configured tags." % ", ".join(expected_modules)
)