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{ {