DockerCLI/cli/command/image
Paweł Gronowski 14ac8db968
test/cli: Use empty array as empty output of images/json
Tests mocking the output of GET images/json with fakeClient used an
array with one empty element as an empty response.
Change it to just an empty array.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit a1953e19b2)
2023-03-01 15:59:31 +01:00
..
build Merge pull request #3798 from thaJeztah/gofumpt_linting 2022-11-04 19:04:51 +01:00
testdata vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43 2022-03-09 18:45:37 +01:00
build.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
build_test.go format go with gofumpt (with -lang=1.19) 2022-09-30 19:14:36 +02:00
client_test.go test/cli: Use empty array as empty output of images/json 2023-03-01 15:59:31 +01:00
cmd.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
formatter_history.go cli: use N/A as placeholder for old CREATED dates 2022-09-19 12:08:10 -04:00
formatter_history_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
history.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
history_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
import.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
import_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
inspect.go Output compact JSON by default for --format=json 2022-03-15 15:42:35 +01:00
inspect_test.go vendor: github.com/docker/docker v20.10.3-0.20220309172631-83b51522df43 2022-03-09 18:45:37 +01:00
list.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
list_test.go test/cli: Use empty array as empty output of images/json 2023-03-01 15:59:31 +01:00
load.go format code with gofumpt 2022-09-30 11:59:11 +02:00
load_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
prune.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
prune_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
pull.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
pull_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
push.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
push_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
remove.go format code with gofumpt 2022-09-30 11:59:11 +02:00
remove_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
save.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
save_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
tag.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
tag_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
trust.go format code with gofumpt 2022-09-30 11:59:11 +02:00
trust_test.go replace uses of deprecated env.Patch() 2022-09-22 17:28:07 +02:00