DockerCLI/cli
Danial 3fa3542e90 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:34 +02:00
..
command Merge pull request #4066 from vvoland/dangling-images-none-2010 2023-03-28 20:02:08 +02:00
compose format (GoDoc) comments with Go 1.19 to prepare for go updates 2023-02-27 17:00:55 -05:00
config configfile: Initialize nil AuthConfigs 2023-07-19 16:18:34 +02:00
connhelper format (GoDoc) comments with Go 1.19 to prepare for go updates 2023-02-27 17:00:55 -05:00
context format (GoDoc) comments with Go 1.19 to prepare for go updates 2023-02-27 17:00:55 -05:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
manifest cli/manifest: remove deprecated io/ioutil and use t.TempDir() 2023-02-27 16:28:59 -05:00
registry/client try http for docker manifest --insecure 2020-03-24 23:42:33 +08:00
streams update docker, replace github.com/docker/pkg/term, github.com/docker/pkg/mount 2020-04-22 17:16:13 +02:00
trust linting: use consts from stdlib (usestdlibvars) 2023-02-27 17:01:45 -05:00
version Move versioning variables to a separate package. 2019-01-29 11:26:40 +00:00
winresources format (GoDoc) comments with Go 1.19 to prepare for go updates 2023-02-27 17:00:55 -05:00
cobra.go Add extra newline after additionalHelp output 2023-01-17 23:12:52 +01:00
cobra_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01: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 2023-02-27 17:00:55 -05:00
required_test.go cli: remove deprecated io/ioutil 2023-02-27 16:28:59 -05:00