mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-16 13:56:11 +08:00
Fix incorrect call to koji API.
This was introduced months ago, but we never hit it. I just saw it in the error logs. It looks like the call to `session.untaggedBuilds` expects a `name` argument, but `session.listTagged` does *not*.
This commit is contained in:
@@ -442,7 +442,7 @@ chmod 644 %buildroot/%_sysconfdir/rpm/macros.zz-modules
|
||||
|
||||
# Now, make the same query we made earlier to return a dict
|
||||
# with the same schema.
|
||||
tagged = self.koji_session.listTagged(tag, **opts)
|
||||
tagged = self.koji_session.listTagged(tag, package=artifact_name)
|
||||
if not tagged:
|
||||
# Should be impossible.
|
||||
raise ValueError("Just tagged %s but didn't find it" % nvr)
|
||||
|
||||
Reference in New Issue
Block a user