mirror of
https://github.com/docker/cli.git
synced 2026-01-26 15:41:42 +03:00
It was written to be used as validate-func for command-line flags, which we don't use it for (which for CLI-flags includes normalizing the value). The validation itself didn't add much; it only checked the registry didn't start or end with a hyphen (which would still fail when parsing). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>