DockerCLI/cli/command
Paweł Gronowski 8c9c281100
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:47 +01:00
..
builder Fix builder prune -a/--all flag description 2020-02-18 14:30:28 +01:00
checkpoint Replace deprecated Cobra command.SetOutput() with command.SetOut() 2020-05-07 14:25:59 +02:00
commands Remove "docker engine" subcommands 2019-12-12 17:51:25 +01:00
config linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
container cli/rm_test: Fix TestRemoveForce race condition 2023-01-04 11:14:14 +01:00
context Use designated test domains (RFC2606) in tests 2021-07-29 12:10:38 +02:00
formatter linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
idresolver bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
image test/cli: Use empty array as empty output of images/json 2023-03-01 15:59:47 +01:00
inspect linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
manifest Subcommand `docker manifest rm` 2020-09-15 16:26:47 -04:00
network linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
node linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
plugin linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
registry linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
secret linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
service linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
stack linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
swarm Use designated test domains (RFC2606) in tests 2021-07-29 12:10:38 +02:00
system linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
task linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
testdata Dynamically register kubernetes context store endpoint type. 2019-05-20 13:28:11 +01:00
trust linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
volume linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
cli.go context: deprecate support for encrypted TLS private keys 2021-07-28 15:48:11 +02:00
cli_options.go update docker, replace github.com/docker/pkg/term, github.com/docker/pkg/mount 2020-04-22 17:16:13 +02:00
cli_options_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
cli_test.go change TestNewAPIClientFromFlagsWithHttpProxyEnv to an e2e test 2021-07-29 12:11:10 +02:00
context.go Don't loose additional metadata fields 2020-06-10 15:07:23 +02:00
context_test.go Don't loose additional metadata fields 2020-06-10 15:07:23 +02:00
defaultcontextstore.go Push check for kubernetes requirement down into the endpoint 2019-05-20 13:28:11 +01:00
defaultcontextstore_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
events_utils.go updated vendoring 2017-09-01 19:41:06 -04:00
orchestrator.go Fast Context Switch: commands 2019-01-10 22:25:43 +01:00
orchestrator_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
registry.go registry: ensure default auth config has address 2021-07-29 19:57:58 -07:00
registry_test.go Merge pull request #2 from moby/cli-ghsa-99pg-grm5-qq3v-default-authconfig-20.10 2021-09-09 20:40:54 +02:00
streams.go Extract streams helpers from command package to their own package to remove a cyclic dependency from command to internal/containerizedengine 2019-01-28 14:36:00 +01:00
trust.go Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00
utils.go build: remove PersistentPreRunE hack for experimental --platform 2020-11-16 14:58:11 +01:00
utils_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00