diff --git a/controllers/backplaneconfig_controller_test.go b/controllers/backplaneconfig_controller_test.go index 7046f05b1..0591f6676 100644 --- a/controllers/backplaneconfig_controller_test.go +++ b/controllers/backplaneconfig_controller_test.go @@ -128,7 +128,7 @@ var _ = Describe("BackplaneConfig controller", func() { err = k8sClient.Create(context.Background(), &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: DestinationNamespace, - Labels: map[string]string{}, + Labels: make(map[string]string), }, Spec: corev1.NamespaceSpec{}, })