distribution/reference
Sebastiaan van Stijn 744ae974a5
Improve "invalid reference" error message
Use the same error message as is used in
docker/reference/reference.go to provide
slightly more information about the error.

This change tests if the reference passes
after lowercasing its characters, to determine
if the reference was invalid due to
it containing uppercase characters.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-09-12 15:13:14 +02:00
..
reference_test.go Improve "invalid reference" error message 2016-09-12 15:13:14 +02:00
reference.go Improve "invalid reference" error message 2016-09-12 15:13:14 +02:00
regexp_test.go Allow uppercase characters in hostnames 2016-02-05 18:11:07 -08:00
regexp.go Typo fixes in comments 2016-02-10 16:26:29 -08:00