cmd: handle generated warnings during Manifest initialization
Signed-off-by: Irene Diez <idiez@redhat.com>
This commit is contained in:
parent
20a5b25320
commit
47bb682221
3 changed files with 3 additions and 3 deletions
|
|
@ -164,7 +164,7 @@ func makeManifestJob(name string, imgType distro.ImageType, cr composeRequest, d
|
|||
err = fmt.Errorf("[%s] nil package specs", filename)
|
||||
return
|
||||
}
|
||||
manifest, err := imgType.Manifest(cr.Blueprint.Customizations, options, repos, packageSpecs, containerSpecs, seedArg)
|
||||
manifest, _, err := imgType.Manifest(cr.Blueprint.Customizations, options, repos, packageSpecs, containerSpecs, seedArg)
|
||||
if err != nil {
|
||||
err = fmt.Errorf("[%s] failed: %s", filename, err)
|
||||
return
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ func main() {
|
|||
composeRequest.OSTree.Ref = imageType.OSTreeRef()
|
||||
}
|
||||
|
||||
manifest, err := imageType.Manifest(composeRequest.Blueprint.Customizations,
|
||||
manifest, _, err := imageType.Manifest(composeRequest.Blueprint.Customizations,
|
||||
options,
|
||||
repos,
|
||||
depsolvedSets,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ func getManifest(bp blueprint.Blueprint, t distro.ImageType, a distro.Arch, d di
|
|||
}
|
||||
pkgSpecSets[name] = res
|
||||
}
|
||||
manifest, err := t.Manifest(bp.Customizations, distro.ImageOptions{}, repos, pkgSpecSets, nil, 0)
|
||||
manifest, _, err := t.Manifest(bp.Customizations, distro.ImageOptions{}, repos, pkgSpecSets, nil, 0)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue