chore: fix function names in comment (#11281)
Signed-off-by: racequite <quiterace@gmail.com> Co-authored-by: racequite <quiterace@gmail.com>
This commit is contained in:
parent
213b723d81
commit
c5ffbd3cf5
2 changed files with 2 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ func IsValidationError(e error) bool {
|
|||
return ok
|
||||
}
|
||||
|
||||
// NewValidationError returns a new LocationDenied error
|
||||
// NewRiskyAnnotations returns a new LocationDenied error
|
||||
func NewRiskyAnnotations(name string) error {
|
||||
return RiskyAnnotationError{
|
||||
Reason: fmt.Errorf("annotation group %s contains risky annotation based on ingress configuration", name),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue