From a46ad5e7044313d98431788d6177691c4645d527 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 6 Aug 2019 19:30:49 +0200 Subject: [PATCH] Builder: remove unused field Signed-off-by: Sebastiaan van Stijn --- builder/dockerfile/imagecontext.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/builder/dockerfile/imagecontext.go b/builder/dockerfile/imagecontext.go index 08cb396a2b..6e5ddb9bc2 100644 --- a/builder/dockerfile/imagecontext.go +++ b/builder/dockerfile/imagecontext.go @@ -88,9 +88,8 @@ func (m *imageSources) Add(im *imageMount) { // imageMount is a reference to an image that can be used as a builder.Source type imageMount struct { - image builder.Image - source builder.Source - layer builder.ROLayer + image builder.Image + layer builder.ROLayer } func newImageMount(image builder.Image, layer builder.ROLayer) *imageMount {