Merge pull request #11297 from k8s-infra-cherrypick-robot/cherry-pick-11296-to-release-1.10

Fix function name in comment
This commit is contained in:
James Strong 2024-04-23 10:15:11 -04:00 committed by GitHub
commit 427d275dce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,7 +190,7 @@ func ValidateServiceName(value string) error {
return nil
}
// checkAnnotations will check each annotation for:
// checkAnnotation will check each annotation for:
// 1 - Does it contain the internal validation and docs config?
// 2 - Does the ingress contains annotations? (validate null pointers)
// 3 - Does it contains a validator? Should it contain a validator (not containing is a bug!)