osbuild-compose: store now takes a distro registry

previously it took only a single distro, but now it requires the whole
registry
This commit is contained in:
Martin Sehnoutka 2020-02-10 09:47:46 +01:00 committed by Ondřej Budai
parent edf081153a
commit f4f8603db5

View file

@ -62,7 +62,7 @@ func main() {
logger = log.New(os.Stdout, "", 0)
}
store := store.New(&stateDir, distribution)
store := store.New(&stateDir, distribution, *distros)
jobAPI := jobqueue.New(logger, store)
weldrAPI := weldr.New(rpm, currentArch(), distribution, logger, store)