fix typepo for log message of layer push event in blobServiceListener Put function.
Signed-off-by: yuzou <zouyu7@huawei.com>
This commit is contained in:
parent
e90ff92895
commit
098005177f
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ func (bsl *blobServiceListener) Put(ctx context.Context, mediaType string, p []b
|
||||||
desc, err := bsl.BlobStore.Put(ctx, mediaType, p)
|
desc, err := bsl.BlobStore.Put(ctx, mediaType, p)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if err := bsl.parent.listener.BlobPushed(bsl.parent.Repository.Named(), desc); err != nil {
|
if err := bsl.parent.listener.BlobPushed(bsl.parent.Repository.Named(), desc); err != nil {
|
||||||
context.GetLogger(ctx).Errorf("error dispatching layer pull to listener: %v", err)
|
context.GetLogger(ctx).Errorf("error dispatching layer push to listener: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue