DockerCLI/cli
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
..
command cli/command/system: add utilities for printing 2023-05-02 16:55:12 +02:00
compose Swarm: allow additional properties in `build` 2023-04-18 14:51:49 +01:00
config cli/config/credentials: skip unneeded exec.LookPath() 2023-05-05 21:10:18 +02:00
connhelper cli/connhelper/commandconn: remove name for unused arg (revive) 2023-03-30 17:22:10 +02:00
context cli/context/docker: remove deprecated Endpoint.TLSPassword 2023-04-01 20:36:02 +02:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags cli/flags: remove deprecated CommonOptions, NewCommonOptions 2023-04-01 20:36:02 +02:00
manifest manifest: save raw manifest content on download 2023-01-27 13:56:17 +00:00
registry/client replace uses of deprecated api/types.AuthConfig 2023-03-30 19:57:16 +02:00
streams cli/streams: minor refactoring and docs touch-ups 2023-04-03 11:27:26 +02:00
trust replace uses of deprecated api/types.AuthConfig 2023-03-30 19:57:16 +02:00
version Move versioning variables to a separate package. 2019-01-29 11:26:40 +00:00
winresources Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
cobra.go cli: make cobra templates a const 2023-04-12 15:44:29 +02:00
cobra_test.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
required_test.go cli: remove deprecated io/ioutil 2022-02-25 15:42:19 +01:00