浏览代码

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
-// 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,