allow Repository.BlobStore to enumerate over blobs

Signed-off-by: Guillaume Rose <guillaume.rose@docker.com>
This commit is contained in:
Manish Tomar 2018-11-01 18:24:36 -07:00 committed by Guillaume Rose
parent cf77113795
commit fa7d949408

View file

@ -330,6 +330,7 @@ func (repo *repository) Blobs(ctx context.Context) distribution.BlobStore {
// TODO(stevvooe): linkPath limits this blob store to only layers. // TODO(stevvooe): linkPath limits this blob store to only layers.
// This instance cannot be used for manifest checks. // This instance cannot be used for manifest checks.
linkPathFns: []linkPathFunc{blobLinkPath}, linkPathFns: []linkPathFunc{blobLinkPath},
linkDirectoryPathSpec: layersPathSpec,
deleteEnabled: repo.registry.deleteEnabled, deleteEnabled: repo.registry.deleteEnabled,
resumableDigestEnabled: repo.resumableDigestEnabled, resumableDigestEnabled: repo.resumableDigestEnabled,
} }