DockerCLI/cli
Danial b0dca399b1 configfile: Initialize nil AuthConfigs
Initialize AuthConfigs map if it's nil before returning it.
This fixes fileStore.Store nil dereference panic when adding a new key
to the map.

Signed-off-by: Danial Gharib <danial.mail.gh@gmail.com>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit ad43df5e86)
2023-07-19 16:18:16 +02:00
..
command cli/command/volume: remove name for unused arg (revive) 2023-07-15 15:24:46 +02:00
compose cli/compose/schema: remove name for unused arg (revive) 2023-07-15 15:25:05 +02:00
config configfile: Initialize nil AuthConfigs 2023-07-19 16:18:16 +02:00
connhelper cli/connhelper/commandconn: remove name for unused arg (revive) 2023-07-15 15:25:23 +02:00
context context: avoid corrupt file writes 2023-03-01 16:14:03 +01:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags docs: update description for docker -H flag 2023-05-08 15:11:10 +02:00
manifest manifest: save raw manifest content on download 2023-01-27 13:56:17 +00:00
registry/client cli/registry/client: AuthorizeRequest(): remove name for unused arg (revive) 2023-07-15 15:21:09 +02:00
streams update docker, replace github.com/docker/pkg/term, github.com/docker/pkg/mount 2020-04-22 17:16:13 +02:00
trust cli/trust: remove name for unused args (revive) 2023-07-15 15:21:26 +02:00
version Move versioning variables to a separate package. 2019-01-29 11:26:40 +00:00
winresources Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
cobra.go load plugin command stubs when required 2023-03-31 16:38:01 +02:00
cobra_test.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
required_test.go cli: remove deprecated io/ioutil 2022-02-25 15:42:19 +01:00