mirror of https://github.com/containers/podman.git
Trivial simplification
Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
d9bfaf5197
commit
a433b858d2
|
@ -169,10 +169,9 @@ func (ir *Runtime) New(ctx context.Context, name, signaturePolicyPath, authfile
|
|||
}
|
||||
|
||||
newImage := Image{
|
||||
InputName: name,
|
||||
InputName: imageName[0],
|
||||
imageruntime: ir,
|
||||
}
|
||||
newImage.InputName = imageName[0]
|
||||
img, err := newImage.getLocalImage()
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "error retrieving local image after pulling %s", name)
|
||||
|
|
Loading…
Reference in New Issue