mirror of https://github.com/docker/docs.git
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
3
tags.go
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue