From fc164200a9bfcf03c83770e7d50370b44ad903ed Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Tue, 24 Sep 2024 13:19:27 -0700 Subject: [PATCH] Address review comment Signed-off-by: Antonin Bas --- pkg/controller/egress/controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/egress/controller_test.go b/pkg/controller/egress/controller_test.go index 322f1d8688e..59a43b26c71 100644 --- a/pkg/controller/egress/controller_test.go +++ b/pkg/controller/egress/controller_test.go @@ -596,7 +596,7 @@ func TestRecreateExternalIPPoolWithNewRange(t *testing.T) { require.True(t, cache.WaitForCacheSync(stopCh, controller.externalIPAllocator.HasSynced)) controller.restoreIPAllocations([]*v1beta1.Egress{egress}) - getEgressIP, _, err := controller.syncEgressIP(egress) + getEgressIP, egress, err := controller.syncEgressIP(egress) require.NoError(t, err) assert.Equal(t, net.ParseIP("1.1.1.1"), getEgressIP)