From e8609c3dc4132fdc9b64fcd58d6c95a19c120017 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Thu, 6 Jul 2023 06:50:28 +0200 Subject: [PATCH] revert change --- controllers/svcdiscovery_controller_suite_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/controllers/svcdiscovery_controller_suite_test.go b/controllers/svcdiscovery_controller_suite_test.go index bac17f020d..0de8fdd05f 100644 --- a/controllers/svcdiscovery_controller_suite_test.go +++ b/controllers/svcdiscovery_controller_suite_test.go @@ -193,11 +193,6 @@ func newTestSupervisorLBService() *corev1.Service { } func newTestHeadlessSvcEndpoints() []client.Object { - ns := &corev1.Namespace{ - ObjectMeta: metav1.ObjectMeta{ - Name: supervisorHeadlessSvcNamespace, - }, - } svc := &corev1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: supervisorHeadlessSvcName, @@ -233,7 +228,7 @@ func newTestHeadlessSvcEndpoints() []client.Object { }, }, } - return []client.Object{ns, svc, endpoint} + return []client.Object{svc, endpoint} } func newTestConfigMapWithHost(serverHost string) *corev1.ConfigMap {