diff options
Diffstat (limited to 'libpod/image')
-rw-r--r-- | libpod/image/pull.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/image/pull.go b/libpod/image/pull.go index 378664e83..7c89709d6 100644 --- a/libpod/image/pull.go +++ b/libpod/image/pull.go @@ -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) } |