Merge pull request #4080 from liubin/fix/comment-typos

fix comment typos
This commit is contained in:
Milos Gajdos 2023-09-28 15:50:06 +01:00 committed by GitHub
commit 73e7952c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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