Skip to content

Commit 8510ee2

Browse files
looklosekarl-johan-grahn
andauthoredApr 10, 2024··
chore: fix typo in comment (#633)
Signed-off-by: looklose <shishuaiqun@yeah.net> Co-authored-by: Karl-Johan Grahn <6355577+karl-johan-grahn@users.noreply.github.com>
1 parent 2d74474 commit 8510ee2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎internal/pkg/controller/controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2449,7 +2449,7 @@ func TestController_resourceInNamespaceSelector(t *testing.T) {
24492449
t.Run(tt.name, func(t *testing.T) {
24502450
fakeClient := fake.NewSimpleClientset()
24512451
namespace, _ := fakeClient.CoreV1().Namespaces().Create(context.Background(), &tt.fields.namespace, metav1.CreateOptions{})
2452-
logrus.Infof("created fakeClient namesapce for testing = %s", namespace.Name)
2452+
logrus.Infof("created fakeClient namespace for testing = %s", namespace.Name)
24532453

24542454
c := &Controller{
24552455
client: fakeClient,

‎internal/pkg/leadership/leadership_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func TestRunLeaderElection(t *testing.T) {
113113
}
114114

115115
// TestRunLeaderElectionWithControllers tests that leadership election works
116-
// wiht real controllers and that on context cancellation the controllers stop
116+
// with real controllers and that on context cancellation the controllers stop
117117
// running.
118118
func TestRunLeaderElectionWithControllers(t *testing.T) {
119119
t.Logf("Creating controller")

0 commit comments

Comments
 (0)
Please sign in to comment.