-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util/resolver: Make httpFallback concurrent safe
The httpFallback mutates the `host` field, which needs a synchronization when the same httpFallback is used by multiple goroutines. This is happens with containerd push which uses `Dispatch` to walk the image recursively to push every blob. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com> (cherry picked from commit 0285950)
- Loading branch information
1 parent
49dd5f4
commit 2bf5cbf
Showing
1 changed file
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters