DockerCLI/cli/config
coryb ee1ac1b319
fix innocuous data-race when config.Load called in parallel
Locking was removed in https://github.com/docker/cli/pull/3025 which
allows for parallel calls to config.Load to modify global state.
The consequence in this case is innocuous, but it does trigger a
`DATA RACE` exception when tests run with `-race` option.

Signed-off-by: coryb <cbennett@netflix.com>
(cherry picked from commit b5f4a6e45f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-01-27 10:37:14 +01:00
..
configfile cli/config/configfile: various test cleanups 2021-07-29 12:10:40 +02:00
credentials Use designated test domains (RFC2606) in tests 2021-07-29 12:10:38 +02:00
types Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
config.go fix innocuous data-race when config.Load called in parallel 2022-01-27 10:37:14 +01:00
config_test.go config: print deprecation warning when falling back to ~/.dockercfg 2021-03-08 17:21:15 +01:00