From 7379b804594c32e92410e31555030fa22eddf93c Mon Sep 17 00:00:00 2001 From: cuiyourong <166382782+cuiyourong@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:27:06 +0800 Subject: [PATCH] Fix function name in comment (#11296) Signed-off-by: cuiyourong --- internal/ingress/annotations/parser/validators.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ingress/annotations/parser/validators.go b/internal/ingress/annotations/parser/validators.go index 64a9d133d2..ffb4d9ba9f 100644 --- a/internal/ingress/annotations/parser/validators.go +++ b/internal/ingress/annotations/parser/validators.go @@ -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!)