فهرست منبع

Merge pull request #44754 from tianon/requireRegistryMatch

Remove reference to "requireRegistryMatch"
Sebastiaan van Stijn 2 سال پیش
والد
کامیت
8fb13036ee
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      distribution/push_v2.go

+ 2 - 2
distribution/push_v2.go

@@ -636,8 +636,8 @@ func getMaxMountAndExistenceCheckAttempts(layer PushLayer) (maxMountAttempts, ma
 }
 }
 
 
 // getRepositoryMountCandidates returns an array of v2 metadata items belonging to the given registry. The
 // 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(
 func getRepositoryMountCandidates(
 	repoInfo reference.Named,
 	repoInfo reference.Named,
 	hmacKey []byte,
 	hmacKey []byte,