Add validation error explanation for long annotations.

This commit is contained in:
Filip Grzadkowski
2015-03-23 14:31:42 +01:00
parent d0b468f4b0
commit 6bc1e2ef40
3 changed files with 4 additions and 12 deletions

View File

@@ -33,11 +33,6 @@ func IsValidLabelValue(value string) bool {
return (len(value) <= LabelValueMaxLength && labelValueRegexp.MatchString(value))
}
// Annotation values are opaque.
func IsValidAnnotationValue(value string) bool {
return true
}
const QualifiedNameFmt string = "(" + qnameTokenFmt + "/)?" + qnameTokenFmt
const QualifiedNameMaxLength int = 253