diff --git a/internal/pkg/controller/controller_test.go b/internal/pkg/controller/controller_test.go index 509f7f3..5fd7720 100644 --- a/internal/pkg/controller/controller_test.go +++ b/internal/pkg/controller/controller_test.go @@ -2449,7 +2449,7 @@ func TestController_resourceInNamespaceSelector(t *testing.T) { t.Run(tt.name, func(t *testing.T) { fakeClient := fake.NewSimpleClientset() namespace, _ := fakeClient.CoreV1().Namespaces().Create(context.Background(), &tt.fields.namespace, metav1.CreateOptions{}) - logrus.Infof("created fakeClient namesapce for testing = %s", namespace.Name) + logrus.Infof("created fakeClient namespace for testing = %s", namespace.Name) c := &Controller{ client: fakeClient, diff --git a/internal/pkg/leadership/leadership_test.go b/internal/pkg/leadership/leadership_test.go index 085b750..1c916e5 100644 --- a/internal/pkg/leadership/leadership_test.go +++ b/internal/pkg/leadership/leadership_test.go @@ -113,7 +113,7 @@ func TestRunLeaderElection(t *testing.T) { } // TestRunLeaderElectionWithControllers tests that leadership election works -// wiht real controllers and that on context cancellation the controllers stop +// with real controllers and that on context cancellation the controllers stop // running. func TestRunLeaderElectionWithControllers(t *testing.T) { t.Logf("Creating controller")