cloudapi: drop unused rpmmdMetadata parameter & struct member
cloudapi no longer calls dnf-json directly so we can clean some code, yay! Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
0f26672e45
commit
c29a1fa9da
4 changed files with 11 additions and 14 deletions
|
|
@ -119,7 +119,7 @@ func (c *Composer) InitWeldr(repoPaths []string, weldrListener net.Listener,
|
|||
}
|
||||
|
||||
func (c *Composer) InitAPI(cert, key string, enableTLS bool, enableMTLS bool, enableJWT bool, l net.Listener) error {
|
||||
c.api = cloudapi.NewServer(c.workers, c.rpm, c.distros, c.config.Koji.AWS.Bucket)
|
||||
c.api = cloudapi.NewServer(c.workers, c.distros, c.config.Koji.AWS.Bucket)
|
||||
c.koji = kojiapi.NewServer(c.logger, c.workers, c.rpm, c.distros)
|
||||
|
||||
if !enableTLS {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue