Skip to content

Commit

Permalink
chore: fix typo in comment (#633)
Browse files Browse the repository at this point in the history
Signed-off-by: looklose <shishuaiqun@yeah.net>
Co-authored-by: Karl-Johan Grahn <6355577+karl-johan-grahn@users.noreply.github.com>
  • Loading branch information
looklose and karl-johan-grahn authored Apr 10, 2024
1 parent 2d74474 commit 8510ee2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/controller/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/leadership/leadership_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8510ee2

Please sign in to comment.