mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-04 03:08:21 +08:00
Error out early if this is absent.
This commit is contained in:
@@ -192,6 +192,8 @@ class KojiModuleBuilder(GenericBuilder):
|
||||
raise ValueError("Unrecognized koji authtype %r" % authtype)
|
||||
|
||||
self.arches = config.koji_arches
|
||||
if not self.arches:
|
||||
raise ValueError("No koji_arches specified in the config.")
|
||||
|
||||
self.module_tag = tag_name
|
||||
self.module_build_tag = "%s-build" % tag_name
|
||||
|
||||
Reference in New Issue
Block a user