cli/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
flags
manifest cli/manifest: remove deprecated io/ioutil and use t.TempDir() 2023-02-27 16:28:59 -05:00
registry/client
streams
trust linting: use consts from stdlib (usestdlibvars) 2023-02-27 17:01:45 -05:00
version
winresources format (GoDoc) comments with Go 1.19 to prepare for go updates 2023-02-27 17:00:55 -05:00
cobra.go
cobra_test.go
error.go
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