mirror of https://github.com/docker/cli.git
08479b0776
'CheckInitialized' in the credential-helper library actually invokes
`pass`, which isn't desirable (see #699).
This moves the check to be simpler, and then pass will only be invoked
when it's needed (such as for `docker login` or when pulling from a
private registry).
This logic could also reasonably live in the credential-helper library,
but it's simple enough it seems fine in either location.
Signed-off-by: Euan Kemp <euank@euank.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
configfile | ||
credentials | ||
config.go | ||
config_test.go |