fix: Gateway API upgrade

This commit is contained in:
Michel Loiseleur 2024-05-16 08:37:41 +02:00
parent 62c9eb393b
commit ae2978527a

View File

@ -72,10 +72,10 @@ func TestGatewayGRPCRouteSourceEndpoints(t *testing.T) {
hostnameAnnotationKey: "api-annotation.foobar.internal",
},
},
Spec: v1alpha2.GRPCRouteSpec{
Spec: v1.GRPCRouteSpec{
Hostnames: []v1.Hostname{"api-hostnames.foobar.internal"},
},
Status: v1alpha2.GRPCRouteStatus{
Status: v1.GRPCRouteStatus{
RouteStatus: gwRouteStatus(gwParentRef("default", "internal")),
},
}