From 54aef6251e4970010567f7b79779c18e07e5db02 Mon Sep 17 00:00:00 2001 From: Andrew Leung Date: Sun, 29 Jul 2018 07:53:33 -0700 Subject: [PATCH] Fix typo in manifestLayers variable name Signed-off-by: Andrew Leung --- notifications/bridge.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notifications/bridge.go b/notifications/bridge.go index b336cd89..1a58c2bb 100644 --- a/notifications/bridge.go +++ b/notifications/bridge.go @@ -13,7 +13,7 @@ import ( type bridge struct { ub URLBuilder - manfiestLayers bool + manifestLayers bool actor ActorRecord source SourceRecord request RequestRecord @@ -35,7 +35,7 @@ type URLBuilder interface { func NewBridge(ub URLBuilder, source SourceRecord, actor ActorRecord, request RequestRecord, sink Sink, manifestLayers bool) Listener { return &bridge{ ub: ub, - manfiestLayers: manifestLayers, + manifestLayers: manifestLayers, actor: actor, source: source, request: request, @@ -146,7 +146,7 @@ func (b *bridge) createManifestEvent(action string, repo reference.Named, sm dis event.Target.Length = desc.Size event.Target.Size = desc.Size event.Target.Digest = desc.Digest - if b.manfiestLayers { + if b.manifestLayers { event.Target.Layers = append(event.Target.Layers, manifest.References()...) }