Skip to content

Commit

Permalink
registry/storage fallback to actual blobstore for stat
Browse files Browse the repository at this point in the history
  • Loading branch information
dhij committed Aug 22, 2023
1 parent 3f8ce75 commit 08bc793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/storage/linkedblobstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type linkedBlobStore struct {
var _ distribution.BlobStore = &linkedBlobStore{}

func (lbs *linkedBlobStore) Stat(ctx context.Context, dgst digest.Digest) (distribution.Descriptor, error) {
return lbs.blobAccessController.Stat(ctx, dgst)
return lbs.blobStore.statter.Stat(ctx, dgst)
}

func (lbs *linkedBlobStore) Get(ctx context.Context, dgst digest.Digest) ([]byte, error) {
Expand Down

0 comments on commit 08bc793

Please sign in to comment.