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:
yuzou 2016-04-14 16:41:35 +08:00
parent e90ff92895
commit 098005177f

View file

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