fix typo in comment and log

Signed-off-by: bin liu <liubin0329@gmail.com>
This commit is contained in:
bin liu 2023-08-23 19:39:19 +08:00
parent f7717b7855
commit 1284c48781

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