DockerCLI/cli/command/image
Paweł Gronowski 0c4e7478e2
list/tree: No extra spacing for graphdriver
Don't output the extra spacing around the images when none of the
top-level image entries has any children.

This makes the list look better when ran against the graphdrivers image
store.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit 7b91647943)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-19 13:28:13 +02:00
..
build cli/command/image/build: fix nosec comment 2024-06-10 21:19:32 +02:00
testdata vendor: github.com/docker/docker 70e46f2c7c2d (v26.0.0-rc3-dev) 2024-03-16 16:53:20 +01:00
build.go docs: make buildx build the canonical reference doc 2024-07-04 09:19:10 +02:00
build_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
client_test.go vendor: github.com/docker/docker a736d0701c41 (master, v27.0.0-dev) 2024-06-10 17:41:09 +02:00
cmd.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
formatter_history.go linting: address else/if/elseif statements found by gocritic 2023-11-20 16:02:16 +01:00
formatter_history_test.go golangci-lint: enable dupword linter 2023-11-20 16:02:18 +01:00
history.go Enable completion for 'image' sub commands 2024-07-19 01:55:35 +02:00
history_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
import.go vendor: github.com/docker/docker a736d0701c41 (master, v27.0.0-dev) 2024-06-10 17:41:09 +02:00
import_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
inspect.go Enable completion for 'image' sub commands 2024-07-19 01:55:35 +02:00
inspect_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
list.go image/list: Add `--tree` flag 2024-08-16 19:40:26 +02:00
list_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
load.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
load_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
prune.go chore: remove backticks and resolve linting issues 2024-04-02 15:54:29 +02:00
prune_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
pull.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
pull_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
push.go push: Improve note message and colors 2024-07-11 12:06:02 +02:00
push_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
remove.go Enable completion for 'image' sub commands 2024-07-19 01:55:35 +02:00
remove_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
save.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
save_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
tag.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
tag_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
tree.go list/tree: No extra spacing for graphdriver 2024-08-19 13:28:13 +02:00
trust.go Removed all mentions of "please" from docs and messages 2024-06-11 16:53:40 +02:00
trust_test.go replace uses of deprecated env.Patch() 2022-09-22 17:28:07 +02:00