mirror of
https://github.com/containers/podman.git
synced 2025-07-01 16:17:06 +08:00
Trivial simplification
Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user