forked from TrueCloudLab/distribution
Fix invalid tag name
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
eea521cfe4
commit
351babbf07
2 changed files with 9 additions and 0 deletions
|
@ -299,6 +299,9 @@ func TestValidateRepositoryName(t *testing.T) {
|
|||
invalidRepoNames := []string{
|
||||
"https://github.com/docker/docker",
|
||||
"docker/Docker",
|
||||
"-docker",
|
||||
"-docker/docker",
|
||||
"-docker.io/docker/docker",
|
||||
"docker///docker",
|
||||
"docker.io/docker/Docker",
|
||||
"docker.io/docker///docker",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue