cloudapi: Pass the RepoRegistry to the cloudapi Server

This commit is contained in:
Brian C. Lane 2024-02-02 16:53:11 -08:00 committed by Brian C. Lane
parent b8967d53bc
commit 01ba674cac
4 changed files with 16 additions and 6 deletions

View file

@ -149,7 +149,7 @@ func (c *Composer) InitAPI(cert, key string, enableTLS bool, enableMTLS bool, en
TenantProviderFields: c.config.Koji.JWTTenantProviderFields,
}
c.api = cloudapi.NewServer(c.workers, c.distros, config)
c.api = cloudapi.NewServer(c.workers, c.distros, c.repos, config)
if !enableTLS {
c.apiListener = l