store: drop the distro registry

This was now unused.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-03-22 18:32:19 +01:00
parent 0656fdcd38
commit 1345ca77fd
5 changed files with 16 additions and 34 deletions

View file

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