Merge pull request #4012 from liubin/fix-typo

fix typo in comment and log
This commit is contained in:
Milos Gajdos 2023-08-23 15:20:05 +01:00 committed by GitHub
commit 4a85aab30f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,9 +123,9 @@ func WithMountFrom(ref reference.Canonical) distribution.BlobCreateOption {
}) })
} }
// Writer begins a blob write session, returning a handle. // Create begins a blob write session, returning a handle.
func (lbs *linkedBlobStore) Create(ctx context.Context, options ...distribution.BlobCreateOption) (distribution.BlobWriter, error) { func (lbs *linkedBlobStore) Create(ctx context.Context, options ...distribution.BlobCreateOption) (distribution.BlobWriter, error) {
dcontext.GetLogger(ctx).Debug("(*linkedBlobStore).Writer") dcontext.GetLogger(ctx).Debug("(*linkedBlobStore).Create")
var opts distribution.CreateOptions var opts distribution.CreateOptions