mirror of
https://github.com/containers/podman.git
synced 2025-06-27 13:38:49 +08: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:

committed by
Atomic Bot

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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user