Merge pull request #112796 from SataQiu/clean-kubelet-20220930

kubelet: remove the unused constant AnnotationInvalidReason since sysctl annotations are deprecated and migrated to fields
This commit is contained in:
Kubernetes Prow Robot
2022-11-01 14:56:45 -07:00
committed by GitHub

View File

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