mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
Eliminate the "dest" variable.
Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com> Closes: #1176 Approved by: rhatdan
This commit is contained in:
parent
e8f7442831
commit
b3e6e908ab
|
@ -119,9 +119,8 @@ func refNamesFromImageReference(ctx context.Context, srcRef types.ImageReference
|
|||
}
|
||||
|
||||
// Need to load in all the repo tags from the manifest
|
||||
dest := manifest[0].RepoTags
|
||||
res := []*pullRefName{}
|
||||
for _, dst := range dest {
|
||||
for _, dst := range manifest[0].RepoTags {
|
||||
pullInfo := getPullRefName(srcRef, dst)
|
||||
res = append(res, pullInfo)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue