mirror of https://github.com/docker/cli.git
3fa3542e90
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
|
||
---|---|---|
.. | ||
credentials.go | ||
default_store.go | ||
default_store_darwin.go | ||
default_store_linux.go | ||
default_store_unsupported.go | ||
default_store_windows.go | ||
file_store.go | ||
file_store_test.go | ||
native_store.go | ||
native_store_test.go |