From c269db4339000cf760eaa2f91b81895302ceec73 Mon Sep 17 00:00:00 2001 From: Varsha B Date: Thu, 16 Jan 2025 11:26:45 +0530 Subject: [PATCH] addressed review comment Signed-off-by: Varsha B --- controllers/gitopsservice_controller.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/controllers/gitopsservice_controller.go b/controllers/gitopsservice_controller.go index 2e999bda..1e6f9c56 100644 --- a/controllers/gitopsservice_controller.go +++ b/controllers/gitopsservice_controller.go @@ -967,13 +967,3 @@ func ensurePodSecurityLabels(namespace *corev1.Namespace) (bool, *corev1.Namespa } return changed, namespace } - -func namespaceMapper(ctx context.Context, o client.Object) []reconcile.Request { - // var result = []reconcile.Request{} - namespacedName := client.ObjectKey{ - Name: o.GetName(), - } - return []reconcile.Request{ - {NamespacedName: namespacedName}, - } -}