Skip to content

Commit 8673b73

Browse files
committed
Mention upstream issue that fixes the data race
Signed-off-by: Jan Boehm <6552713+jeloba@users.noreply.github.com>
1 parent a8b1400 commit 8673b73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/image/containerdregistry/resolver.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ func credential(cfg *configfile.ConfigFile) func(string) (string, string, error)
9090
}
9191

9292
// protects against a data race inside the docker CLI
93+
// TODO: upstream issue for 20.10.x is tracked here https://github.com/docker/cli/pull/3410
94+
// newer versions already contain the fix
9395
var configMutex sync.Mutex
9496

9597
func loadConfig(dir string) (*configfile.ConfigFile, error) {

0 commit comments

Comments
 (0)