Parcourir la source

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 il y a 12 ans
Parent
commit
e7d36c9590
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0 3
      tags.go

+ 0 - 3
tags.go

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