From 74b9409ecb8b725169c21b969b23252ebfa8aba2 Mon Sep 17 00:00:00 2001 From: Jason Wilder Date: Thu, 14 Aug 2014 09:52:47 -0600 Subject: [PATCH] Fix squash comment to look like docker generated ones --- export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.go b/export.go index 2538734..d6227e4 100644 --- a/export.go +++ b/export.go @@ -335,7 +335,7 @@ func (e *Export) InsertLayer(parent string) (*ExportedImage, error) { } layerConfig := newLayerConfig(id, parent, "squashed w/ docker-squash") - layerConfig.ContainerConfig.Cmd = []string{"/bin/sh", "-c", fmt.Sprintf("#(squash from %s)", parent[:12])} + layerConfig.ContainerConfig.Cmd = []string{"/bin/sh", "-c", fmt.Sprintf("#(squash) from %s", parent[:12])} entry := &ExportedImage{ Path: filepath.Join(e.Path, id), JsonPath: filepath.Join(e.Path, id, "json"),