From af57cd751ebf90dda5d1b2f44752f571209bbb9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Drzewiecki?= Date: Tue, 5 Mar 2024 10:53:44 +0100 Subject: [PATCH] removes redundant ctx parameter --- internal/controller/gardener_cluster_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/gardener_cluster_controller.go b/internal/controller/gardener_cluster_controller.go index 548f756a..d234b52a 100644 --- a/internal/controller/gardener_cluster_controller.go +++ b/internal/controller/gardener_cluster_controller.go @@ -93,7 +93,7 @@ func (controller *GardenerClusterController) Reconcile(ctx context.Context, req if err != nil { if k8serrors.IsNotFound(err) { - controller.unsetStateMetric(ctx, req) + controller.unsetStateMetric(req) err = controller.deleteKubeconfigSecret(ctx, req.Name) }