DockerCLI/cli/config
Euan Kemp 08479b0776
config/credentials: don't run 'pass' to detect it
'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 056015c3d8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-07-04 00:51:28 +02:00
..
configfile Scope orchestration selection to stack commands only 2018-06-21 17:12:31 -07:00
credentials config/credentials: don't run 'pass' to detect it 2018-07-04 00:51:28 +02:00
config.go Cleanup config load error handling 2018-03-06 13:44:06 -05:00
config_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00