Skip to content

Commit

Permalink
Make flatten location-independent
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjohnsonjr committed Aug 12, 2021
1 parent e56253f commit fb4d2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crane/cmd/flatten.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func NewCmdFlatten(options *[]crane.Option) *cobra.Command {
img, err = mutate.Append(img, mutate.Addendum{
Layer: layer,
History: v1.History{
CreatedBy: fmt.Sprintf("crane flatten %s", ref),
CreatedBy: fmt.Sprintf("%s flatten %s", cmd.Parent().Use, desc.Digest),
Comment: string(oldHistory),
},
})
Expand Down

0 comments on commit fb4d2f0

Please sign in to comment.