mirror of https://github.com/docker/docs.git
Layer uploads are deduplicated by a "key" made up of the layer DiffID and the repository name. The repository name being used to form this key was a remote version of the name that didn't include the name of the registry. Consequently, pushes of the same layer in a repository with the same remote name to different registries would wrongly be deduplicated. Correct the key by using the full name of the repository, which includes the registry hostname as well as the image's name. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> (cherry picked from commit 1333ef3ca381976438d4ae10f6b0e9be21e1a9ba) |
||
|---|---|---|
| .. | ||
| fixtures/validate_manifest | ||
| metadata | ||
| xfer | ||
| errors.go | ||
| pull.go | ||
| pull_v1.go | ||
| pull_v2.go | ||
| pull_v2_test.go | ||
| pull_v2_unix.go | ||
| pull_v2_windows.go | ||
| push.go | ||
| push_v1.go | ||
| push_v2.go | ||
| registry.go | ||
| registry_unit_test.go | ||