Merge pull request #44754 from tianon/requireRegistryMatch

Remove reference to "requireRegistryMatch"
This commit is contained in:
Sebastiaan van Stijn 2023-01-05 22:10:15 +01:00 committed by GitHub
commit 8fb13036ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -636,8 +636,8 @@ func getMaxMountAndExistenceCheckAttempts(layer PushLayer) (maxMountAttempts, ma
}
// getRepositoryMountCandidates returns an array of v2 metadata items belonging to the given registry. The
// array is sorted from youngest to oldest. If requireRegistryMatch is true, the resulting array will contain
// only metadata entries having registry part of SourceRepository matching the part of repoInfo.
// array is sorted from youngest to oldest. The resulting array will contain only metadata entries having
// registry part of SourceRepository matching the part of repoInfo.
func getRepositoryMountCandidates(
repoInfo reference.Named,
hmacKey []byte,