DockerCLI/cli/config
Danial ad43df5e86
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>
2023-07-19 15:36:10 +02:00
..
configfile configfile: Initialize nil AuthConfigs 2023-07-19 15:36:10 +02:00
credentials configfile: Initialize nil AuthConfigs 2023-07-19 15:36:10 +02:00
types Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
config.go Merge pull request #4384 from thaJeztah/config_sync 2023-06-28 14:11:36 +02:00
config_test.go cli/config: add synchronisation for configDir (Dir, SetDir) 2023-06-28 12:58:26 +02:00