diff --git a/internal/controller/eventing/domain_test.go b/internal/controller/eventing/domain_test.go index 96999fd3..e8f3581f 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{