DockerCLI/cli/config/configfile
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
..
testdata Simplify cli plugin config file entry 2019-02-25 10:38:48 +00:00
file.go configfile: Initialize nil AuthConfigs 2023-07-19 15:36:10 +02:00
file_test.go cli/config/configfile: mockNativeStore: remove name for unused arg (revive) 2023-03-30 17:22:10 +02:00
file_unix.go remove pre-go1.17 build-tags 2023-05-05 18:23:03 +02:00
file_windows.go config: preserve ownership and permissions on configfile 2019-12-17 09:57:33 +01:00