mirror of https://github.com/docker/cli.git
b0dca399b1
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
|
||
---|---|---|
.. | ||
testdata | ||
file.go | ||
file_test.go | ||
file_unix.go | ||
file_windows.go |