diff --git a/pkg/apis/dos/validation/dos.go b/pkg/apis/dos/validation/dos.go index 36c5f49bf0..6ab0b8c4d9 100644 --- a/pkg/apis/dos/validation/dos.go +++ b/pkg/apis/dos/validation/dos.go @@ -203,7 +203,7 @@ func ValidateAppProtectDosAllowList(allowList []v1beta1.AllowListEntry) error { for _, entry := range allowList { ipValid := isValidIPWithMask(entry.IPWithMask) if !ipValid { - return fmt.Errorf("Invalid IP with subnet mask: %s", entry.IPWithMask) + return fmt.Errorf("invalid IP with subnet mask: %s", entry.IPWithMask) } } return nil