Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit 74b9409

Browse files
committed
Fix squash comment to look like docker generated ones
1 parent 075d4b0 commit 74b9409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

export.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func (e *Export) InsertLayer(parent string) (*ExportedImage, error) {
335335
}
336336

337337
layerConfig := newLayerConfig(id, parent, "squashed w/ docker-squash")
338-
layerConfig.ContainerConfig.Cmd = []string{"/bin/sh", "-c", fmt.Sprintf("#(squash from %s)", parent[:12])}
338+
layerConfig.ContainerConfig.Cmd = []string{"/bin/sh", "-c", fmt.Sprintf("#(squash) from %s", parent[:12])}
339339
entry := &ExportedImage{
340340
Path: filepath.Join(e.Path, id),
341341
JsonPath: filepath.Join(e.Path, id, "json"),

0 commit comments

Comments
 (0)