DockerCLI/cli/config
Euan Kemp 056015c3d8 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>
2018-06-29 11:38:39 -07: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-06-29 11:38:39 -07: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