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)
|
err = fmt.Errorf("[%s] nil package specs", filename)
|
||||||
return
|
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 {
|
if err != nil {
|
||||||
err = fmt.Errorf("[%s] failed: %s", filename, err)
|
err = fmt.Errorf("[%s] failed: %s", filename, err)
|
||||||
return
|
return
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@ func main() {
|
||||||
composeRequest.OSTree.Ref = imageType.OSTreeRef()
|
composeRequest.OSTree.Ref = imageType.OSTreeRef()
|
||||||
}
|
}
|
||||||
|
|
||||||
manifest, err := imageType.Manifest(composeRequest.Blueprint.Customizations,
|
manifest, _, err := imageType.Manifest(composeRequest.Blueprint.Customizations,
|
||||||
options,
|
options,
|
||||||
repos,
|
repos,
|
||||||
depsolvedSets,
|
depsolvedSets,
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ func getManifest(bp blueprint.Blueprint, t distro.ImageType, a distro.Arch, d di
|
||||||
}
|
}
|
||||||
pkgSpecSets[name] = res
|
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 {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue