DockerCLI/cli/config
Danial 1ee40e2c74
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)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-07-19 16:00:16 +02:00
..
configfile configfile: Initialize nil AuthConfigs 2023-07-19 16:00:16 +02:00
credentials configfile: Initialize nil AuthConfigs 2023-07-19 16:00:16 +02:00
types Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
config.go Deprecation: config: remove support for old ~/.dockercfg 2022-04-06 21:35:03 +02:00
config_test.go format go with gofumpt (with -lang=1.19) 2022-09-30 19:14:36 +02:00