mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
Vendor in latest projectatomic/buildah
Fixes to podman build for unknown image and ADD with url when doing --layers. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #1330 Approved by: mheon
This commit is contained in:
@ -161,7 +161,10 @@ func (c *Container) Commit(ctx context.Context, destImage string, options Contai
|
||||
importBuilder.SetWorkDir(splitChange[1])
|
||||
}
|
||||
}
|
||||
candidates := util.ResolveName(destImage, "", sc, c.runtime.store)
|
||||
candidates, err := util.ResolveName(destImage, "", sc, c.runtime.store)
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "error resolving name %q", destImage)
|
||||
}
|
||||
if len(candidates) == 0 {
|
||||
return nil, errors.Errorf("error parsing target image name %q", destImage)
|
||||
}
|
||||
|
Reference in New Issue
Block a user