Don't blame DNS spec on Kubernetes requirement for lower-case DNS labels.

This commit is contained in:
Paulo Pires
2017-01-13 13:40:19 +00:00
parent 3fa44312ad
commit 3856d91ed8
2 changed files with 6 additions and 6 deletions

View File

@@ -35,8 +35,8 @@ import (
)
const (
dnsLabelErrMsg = "a valid DNS (RFC 1123) label must consist of"
dnsSubdomainLabelErrMsg = "a valid DNS (RFC 1123) subdomain"
dnsLabelErrMsg = "a DNS-1123 label must consist of"
dnsSubdomainLabelErrMsg = "a DNS-1123 subdomain"
labelErrMsg = "a valid label must be an empty string or consist of"
lowerCaseLabelErrMsg = "a valid label must consist of"
maxLengthErrMsg = "must be no more than"