Skip to content

Commit

Permalink
[resolver] Query the build group on secondary
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
msimacek committed Feb 27, 2018
1 parent 346bc59 commit e83607f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koschei/backend/services/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_build_group(self, collection, repo_id):
"""
group = koji_util.get_build_group_cached(
self.session,
self.session.koji('primary'),
self.session.koji('secondary'),
collection.build_tag,
collection.build_group,
repo_id,
Expand Down

0 comments on commit e83607f

Please sign in to comment.