Skip to content

Commit

Permalink
Merge pull request #1181 from tyler92/fix-pull-use-system-context
Browse files Browse the repository at this point in the history
Fix empty system context when copy image from oci-archive transport
  • Loading branch information
openshift-merge-robot authored Oct 10, 2022
2 parents ebf6de5 + 2b01fbf commit b0ee7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libimage/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (r *Runtime) copyFromDefault(ctx context.Context, ref types.ImageReference,
imageName = storageName

case ociArchiveTransport.Transport.Name():
manifestDescriptor, err := ociArchiveTransport.LoadManifestDescriptor(ref)
manifestDescriptor, err := ociArchiveTransport.LoadManifestDescriptorWithContext(r.SystemContext(), ref)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit b0ee7e0

Please sign in to comment.