mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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
This commit is contained in:
parent
3e8626c4a1
commit
e7d36c9590
1 changed files with 0 additions and 3 deletions
3
tags.go
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue