Update distribution package

Pick up name regexp change in distribution to allow matching of hostnames as a valid component of a repository.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2015-10-08 17:16:43 -07:00
parent 0b543b4767
commit ed69ef01ee

View File

@ -767,6 +767,9 @@ func TestValidRemoteName(t *testing.T) {
// Allow embedded hyphens.
"docker-rules/docker",
// Allow multiple hyphens as well.
"docker---rules/docker",
//Username doc and image name docker being tested.
"doc/docker",
@ -800,8 +803,11 @@ func TestValidRemoteName(t *testing.T) {
"_docker/_docker",
// Disallow consecutive hyphens.
"dock--er/docker",
// Disallow consecutive underscores and periods.
"dock__er/docker",
"dock..er/docker",
"dock_.er/docker",
"dock-.er/docker",
// No repository.
"docker/",