Skip to content

Commit e83607f

Browse files
committed
[resolver] Query the build group on secondary
Primary and secondary should have the same build group. But they don't have the same repos which we now use for getting the build group at a particular point in time. So it needs to query the koji which owns the repo, which is secondary. It is also more consistent - both repo and build group are queried on secondary.
1 parent 346bc59 commit e83607f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

koschei/backend/services/resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def get_build_group(self, collection, repo_id):
132132
"""
133133
group = koji_util.get_build_group_cached(
134134
self.session,
135-
self.session.koji('primary'),
135+
self.session.koji('secondary'),
136136
collection.build_tag,
137137
collection.build_group,
138138
repo_id,

0 commit comments

Comments
 (0)