Skip to content

Commit

Permalink
image: replace GetStoreImage with ResolveReference
Browse files Browse the repository at this point in the history
GetStoreImage is deprecated after containers/image#2056

Signed-off-by: Aditya R <arajan@redhat.com>
  • Loading branch information
flouthoc committed Nov 2, 2023
1 parent 03419d6 commit aefa9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (r *storageService) CreateContainerStorage(ctx context.Context, systemConte
if err != nil {
return ContainerInfo{}, err
}
img, err := istorage.Transport.GetStoreImage(r.store, ref)
_, img, err := istorage.ResolveReference(ref)
if err != nil {
return ContainerInfo{}, err
}
Expand Down

0 comments on commit aefa9ab

Please sign in to comment.