From 8cdd46b85aaa6aa6b8250c6d507b82972ef005b6 Mon Sep 17 00:00:00 2001 From: marcobebway Date: Fri, 20 Oct 2023 09:38:34 +0200 Subject: [PATCH] Simplify code --- internal/controller/eventing/domain_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/controller/eventing/domain_test.go b/internal/controller/eventing/domain_test.go index 96999fd3e..e8f3581fc 100644 --- a/internal/controller/eventing/domain_test.go +++ b/internal/controller/eventing/domain_test.go @@ -15,9 +15,7 @@ import ( func Test_readDomainFromConfigMap(t *testing.T) { // given - var ( - ctx = context.TODO() - ) + ctx := context.TODO() cm := &corev1.ConfigMap{ Data: map[string]string{