store/compose/ImageType: use distro.ImageType objects
This reduces the amount of resolving and error checking we have to do. This exposed a bug in weldr's ComposeEntry type, which will be fixed in a follow-up commit. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
5ba7e21a72
commit
2fe4450620
9 changed files with 77 additions and 54 deletions
|
|
@ -117,7 +117,7 @@ func main() {
|
|||
logger = log.New(os.Stdout, "", 0)
|
||||
}
|
||||
|
||||
store := store.New(&stateDir)
|
||||
store := store.New(&stateDir, arch)
|
||||
|
||||
queueDir := path.Join(stateDir, "jobs")
|
||||
err = os.Mkdir(queueDir, 0700)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue