From fce855d06cfcc0eb15d3a9463adb74fb0efac869 Mon Sep 17 00:00:00 2001 From: Huabing Zhao Date: Fri, 1 Nov 2024 01:42:02 +0000 Subject: [PATCH] fix lint Signed-off-by: Huabing Zhao --- internal/provider/kubernetes/status_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/provider/kubernetes/status_test.go b/internal/provider/kubernetes/status_test.go index 5e1f2442d85..5e81c46135e 100644 --- a/internal/provider/kubernetes/status_test.go +++ b/internal/provider/kubernetes/status_test.go @@ -31,10 +31,10 @@ func Test_mergeRouteParentStatus(t *testing.T) { { ControllerName: "gateway.envoyproxy.io/gatewayclass-controller", ParentRef: gwapiv1.ParentReference{ - Name: "gateway1", - Namespace: ptr.To[gwapiv1.Namespace]("default"), + Name: "gateway1", + Namespace: ptr.To[gwapiv1.Namespace]("default"), SectionName: ptr.To[gwapiv1.SectionName]("listener1"), - Port: ptr.To[gwapiv1.PortNumber](80), + Port: ptr.To[gwapiv1.PortNumber](80), }, Conditions: []metav1.Condition{ { @@ -70,10 +70,10 @@ func Test_mergeRouteParentStatus(t *testing.T) { { ControllerName: "gateway.envoyproxy.io/gatewayclass-controller", ParentRef: gwapiv1.ParentReference{ - Name: "gateway1", - Namespace: ptr.To[gwapiv1.Namespace]("default"), + Name: "gateway1", + Namespace: ptr.To[gwapiv1.Namespace]("default"), SectionName: ptr.To[gwapiv1.SectionName]("listener1"), - Port: ptr.To[gwapiv1.PortNumber](80), + Port: ptr.To[gwapiv1.PortNumber](80), }, Conditions: []metav1.Condition{ {