From a1a2757fb09de8628143b4081297cf7368392808 Mon Sep 17 00:00:00 2001 From: Serge Dubrouski Date: Thu, 1 Sep 2016 16:52:14 -0600 Subject: [PATCH] manifestServiceListener.Get to pass down options parameter Signed-off-by: Serge Dubrouski --- notifications/listener.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/listener.go b/notifications/listener.go index b99133da..c968b98a 100644 --- a/notifications/listener.go +++ b/notifications/listener.go @@ -78,7 +78,7 @@ func (msl *manifestServiceListener) Delete(ctx context.Context, dgst digest.Dige } func (msl *manifestServiceListener) Get(ctx context.Context, dgst digest.Digest, options ...distribution.ManifestServiceOption) (distribution.Manifest, error) { - sm, err := msl.ManifestService.Get(ctx, dgst) + sm, err := msl.ManifestService.Get(ctx, dgst, options...) if err == nil { if err := msl.parent.listener.ManifestPulled(msl.parent.Repository.Named(), sm, options...); err != nil { context.GetLogger(ctx).Errorf("error dispatching manifest pull to listener: %v", err)