We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39225d3 commit be0dd48Copy full SHA for be0dd48
test/support/conditions.go
@@ -42,6 +42,10 @@ func ConditionStatus[T conditionType](conditionType T) func(any) corev1.Conditio
42
return c.Status
43
}
44
case *routev1.Route:
45
+ if len(o.Status.Ingress) == 0 {
46
+ // Route is not initialized yet
47
+ break
48
+ }
49
if c := getRouteCondition(o.Status.Ingress[0].Conditions, routev1.RouteIngressConditionType(conditionType)); c != nil {
50
51
0 commit comments