Merge pull request #115002 from SataQiu/clean-20230112

kubeadm: remove the unused variable DefaultAuditPolicyLogMaxAge
This commit is contained in:
Kubernetes Prow Robot 2023-01-11 23:26:54 -08:00 committed by GitHub
commit 45df8f0bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,12 +62,6 @@ const (
DefaultImagePullPolicy = corev1.PullIfNotPresent
)
var (
// DefaultAuditPolicyLogMaxAge is defined as a var so its address can be taken
// It is the number of days to store audit logs
DefaultAuditPolicyLogMaxAge = int32(2)
)
func addDefaultingFuncs(scheme *runtime.Scheme) error {
return RegisterDefaults(scheme)
}