diff --git a/images.go b/images.go index dd310f3..5ebe444 100644 --- a/images.go +++ b/images.go @@ -407,7 +407,7 @@ func PrintTreeNode(buffer *bytes.Buffer, image Image, dispOpts DisplayOpts, pref if dispOpts.ShowCreatedBy { buffer.WriteString(fmt.Sprintf(" (%s)", SanitizeCommand(image.CreatedBy, 100))) } - buffer.WriteString(fmt.Sprintf("\n")) + buffer.WriteString("\n") } func megabytes(bytes int64) float64 {