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

Commit

Permalink
Fix squash comment to look like docker generated ones
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilder committed Aug 14, 2014
1 parent 075d4b0 commit 74b9409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 74b9409

Please sign in to comment.