File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ func printImageTree(dockerCLI command.Cli, images []topImage) error {
132132 }
133133
134134 _ , _ = fmt .Fprintln (out , warningColor .Apply ("WARNING: This is an experimental feature. The output may change and shouldn't be depended on." ))
135+ _ , _ = fmt .Fprintln (out , "" )
135136
136137 columns := []imgColumn {
137138 {
@@ -213,11 +214,8 @@ func printImageTree(dockerCLI command.Cli, images []topImage) error {
213214 _ , _ = fmt .Fprintln (out )
214215
215216 // Print images
216- for idx , img := range images {
217- if idx != 0 {
218- _ , _ = fmt .Fprintln (out , "" )
219- }
220-
217+ for _ , img := range images {
218+ _ , _ = fmt .Fprintln (out , "" )
221219 printNames (out , columns , img , topNameColor )
222220 printDetails (out , columns , normalColor , img .Details )
223221 printChildren (out , columns , img , normalColor )
You can’t perform that action at this time.
0 commit comments