Skip to content

Commit af7bc4f

Browse files
committed
Fix typo introduced by refactor
1 parent 8051c10 commit af7bc4f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/gameservers/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ func (c *Controller) syncGameServerRequestReadyState(gs *stablev1alpha1.GameServ
478478
return gs, errors.Wrapf(err, "error setting Ready, Port and address on GameServer %s Status", gs.ObjectMeta.Name)
479479
}
480480

481-
c.recorder.Event(gs, corev1.EventTypeNormal, string(gs.Status.State), "address and Port populated")
481+
c.recorder.Event(gs, corev1.EventTypeNormal, string(gs.Status.State), "Address and Port populated")
482482
return gs, nil
483483
}
484484

pkg/gameservers/controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ func TestControllerSyncGameServerRequestReadyState(t *testing.T) {
601601
assert.Equal(t, gs.Spec.HostPort, gs.Status.Port)
602602
assert.Equal(t, ipFixture, gs.Status.Address)
603603
assert.Equal(t, node.ObjectMeta.Name, gs.Status.NodeName)
604-
assert.Contains(t, <-mocks.fakeRecorder.Events, "address and Port populated")
604+
assert.Contains(t, <-mocks.fakeRecorder.Events, "Address and Port populated")
605605
})
606606

607607
for _, s := range []v1alpha1.State{"Unknown", v1alpha1.Unhealthy} {

0 commit comments

Comments
 (0)