From 42b22b6d1d6cc746cb8c30b53d2442e3657668af Mon Sep 17 00:00:00 2001 From: Vicente Ferrara Date: Tue, 30 Apr 2024 18:29:42 +0000 Subject: [PATCH] nit --- pkg/gameservers/controller_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/gameservers/controller_test.go b/pkg/gameservers/controller_test.go index 6ad067a30b..acdc85fe6e 100644 --- a/pkg/gameservers/controller_test.go +++ b/pkg/gameservers/controller_test.go @@ -28,7 +28,6 @@ import ( agonesv1 "agones.dev/agones/pkg/apis/agones/v1" "agones.dev/agones/pkg/cloudproduct/generic" agtesting "agones.dev/agones/pkg/testing" - "agones.dev/agones/pkg/util/webhooks" "github.com/heptiolabs/healthcheck" "github.com/sirupsen/logrus" @@ -1270,7 +1269,6 @@ func TestControllerCreateGameServerPod(t *testing.T) { return true, pod, nil }) - fixture.Spec.Ports[0].PortPolicy = agonesv1.Passthrough gs, err := c.createGameServerPod(context.Background(), fixture) require.NoError(t, err) assert.Equal(t, fixture.Status.State, gs.Status.State)