Skip to content

Commit

Permalink
Mention upstream issue that fixes the data race
Browse files Browse the repository at this point in the history
  • Loading branch information
jeloba committed Feb 10, 2022
1 parent a8b1400 commit dbbd92b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/image/containerdregistry/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ func credential(cfg *configfile.ConfigFile) func(string) (string, string, error)
}

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

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

0 comments on commit dbbd92b

Please sign in to comment.