From fa7d94940821080f25fb5442cebbdc01f6a691ba Mon Sep 17 00:00:00 2001 From: Manish Tomar Date: Thu, 1 Nov 2018 18:24:36 -0700 Subject: [PATCH] allow Repository.BlobStore to enumerate over blobs Signed-off-by: Guillaume Rose --- registry/storage/registry.go | 1 + 1 file changed, 1 insertion(+) diff --git a/registry/storage/registry.go b/registry/storage/registry.go index 7e932ab9..4809f153 100644 --- a/registry/storage/registry.go +++ b/registry/storage/registry.go @@ -330,6 +330,7 @@ func (repo *repository) Blobs(ctx context.Context) distribution.BlobStore { // TODO(stevvooe): linkPath limits this blob store to only layers. // This instance cannot be used for manifest checks. linkPathFns: []linkPathFunc{blobLinkPath}, + linkDirectoryPathSpec: layersPathSpec, deleteEnabled: repo.registry.deleteEnabled, resumableDigestEnabled: repo.resumableDigestEnabled, }