forked from TrueCloudLab/distribution
fix comment typos
Signed-off-by: bin liu <liubin0329@gmail.com>
This commit is contained in:
parent
3fc1216dc3
commit
dca71db976
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue