DockerCLI/cli/config
Sebastiaan van Stijn ce11b28d83
cli/config/credentials: skip unneeded exec.LookPath()
defaultCredentialsStore() on Linux does an exec.LookPath() for "pass", but
if a custom credential-store is passed to DetectDefaultStore, the result
of that won't be used.

This patch changes the logic to return early if a custom credential-store
is passed.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-05 21:10:18 +02:00
..
configfile cli/config/configfile: remove deprecated StackOrchestrator field 2023-04-01 20:36:02 +02:00
credentials cli/config/credentials: skip unneeded exec.LookPath() 2023-05-05 21:10:18 +02:00
types Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
config.go Deprecation: config: remove support for old ~/.dockercfg 2022-04-06 21:35:03 +02:00
config_test.go format go with gofumpt (with -lang=1.19) 2022-09-30 19:14:36 +02:00