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:
Ralph Bean
2017-10-10 18:33:59 -04:00
parent 562cad29d7
commit c92a967042

View File

@@ -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)