From 1f7a705fb66b035f4fd92ecada361d39d584aee8 Mon Sep 17 00:00:00 2001 From: m00g3n Date: Tue, 12 Dec 2023 17:03:21 +0100 Subject: [PATCH] fix linter findings --- internal/controller/gardener_cluster_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/controller/gardener_cluster_controller.go b/internal/controller/gardener_cluster_controller.go index edaf2421..315182eb 100644 --- a/internal/controller/gardener_cluster_controller.go +++ b/internal/controller/gardener_cluster_controller.go @@ -296,7 +296,6 @@ func nextRequeue(now, lastSyncTime time.Time, rotationPeriod time.Duration, modi } func secretRotationTimePassed(secret *corev1.Secret, rotationPeriod time.Duration) bool { - if secret == nil { return true }