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

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)
}