Skip to content

Commit

Permalink
Merge pull request kubernetes#112796 from SataQiu/clean-kubelet-20220930
Browse files Browse the repository at this point in the history
kubelet: remove the unused constant AnnotationInvalidReason since sysctl annotations are deprecated and migrated to fields
  • Loading branch information
k8s-ci-robot authored Nov 1, 2022
2 parents 9b72f20 + 7308b83 commit 2452a95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/kubelet/sysctl/allowlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ import (
)

const (
AnnotationInvalidReason = "InvalidSysctlAnnotation"
ForbiddenReason = "SysctlForbidden"
ForbiddenReason = "SysctlForbidden"
)

// patternAllowlist takes a list of sysctls or sysctl patterns (ending in *) and
Expand Down

0 comments on commit 2452a95

Please sign in to comment.