remove the unused constant AnnotationInvalidReason since sysctl annotations are deprecated and migrated to fields

This commit is contained in:
SataQiu 2022-09-30 14:53:46 +08:00
parent 4276ed3628
commit 7308b83a99

View File

@ -26,8 +26,7 @@ import (
) )
const ( const (
AnnotationInvalidReason = "InvalidSysctlAnnotation" ForbiddenReason = "SysctlForbidden"
ForbiddenReason = "SysctlForbidden"
) )
// patternAllowlist takes a list of sysctls or sysctl patterns (ending in *) and // patternAllowlist takes a list of sysctls or sysctl patterns (ending in *) and