mirror of
https://github.com/distribution/distribution.git
synced 2025-06-29 08:48:06 +00:00
fix comment typos
Signed-off-by: bin liu <liubin0329@gmail.com>
This commit is contained in:
parent
3fc1216dc3
commit
dca71db976
@ -22,7 +22,7 @@ type blobStore struct {
|
|||||||
|
|
||||||
var _ distribution.BlobProvider = &blobStore{}
|
var _ distribution.BlobProvider = &blobStore{}
|
||||||
|
|
||||||
// Get implements the BlobReadService.Get call.
|
// Get implements the BlobProvider.Get call.
|
||||||
func (bs *blobStore) Get(ctx context.Context, dgst digest.Digest) ([]byte, error) {
|
func (bs *blobStore) Get(ctx context.Context, dgst digest.Digest) ([]byte, error) {
|
||||||
bp, err := bs.path(dgst)
|
bp, err := bs.path(dgst)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -36,7 +36,7 @@ type linkedBlobStore struct {
|
|||||||
// linkPath allows one to control the repository blob link set to which
|
// linkPath allows one to control the repository blob link set to which
|
||||||
// the blob store dispatches. This is required because manifest and layer
|
// the blob store dispatches. This is required because manifest and layer
|
||||||
// blobs have not yet been fully merged. At some point, this functionality
|
// blobs have not yet been fully merged. At some point, this functionality
|
||||||
// should be removed an the blob links folder should be merged.
|
// should be removed and the blob links folder should be merged.
|
||||||
linkPath linkPathFunc
|
linkPath linkPathFunc
|
||||||
|
|
||||||
// linkDirectoryPathSpec locates the root directories in which one might find links
|
// linkDirectoryPathSpec locates the root directories in which one might find links
|
||||||
|
Loading…
Reference in New Issue
Block a user