浏览代码

It is now possible to include a ":" in a local repository name (it will not be the case for a remote name). This adds support for full qualified repository name in order to support private registry server

Sam Alba 12 年之前
父节点
当前提交
e7d36c9590
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      tags.go

+ 0 - 3
tags.go

@@ -221,9 +221,6 @@ func validateRepoName(name string) error {
 	if name == "" {
 		return fmt.Errorf("Repository name can't be empty")
 	}
-	if strings.Contains(name, ":") {
-		return fmt.Errorf("Illegal repository name: %s", name)
-	}
 	return nil
 }