Skip to content

Commit

Permalink
fix: use ListenerConditionAccepted for listener conds instead of Rout…
Browse files Browse the repository at this point in the history
…eConditionAccepted
  • Loading branch information
shaneutt committed Mar 14, 2023
1 parent 97f9065 commit 26080e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conformance/tests/gateway-with-attached-routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var GatewayWithAttachedRoutes = suite.ConformanceTest{
Kind: v1beta1.Kind("HTTPRoute"),
}},
Conditions: []metav1.Condition{{
Type: string(v1beta1.RouteConditionAccepted),
Type: string(v1beta1.ListenerConditionAccepted),
Status: metav1.ConditionTrue,
Reason: "", //any reason
}},
Expand All @@ -64,7 +64,7 @@ var GatewayWithAttachedRoutes = suite.ConformanceTest{
Kind: v1beta1.Kind("HTTPRoute"),
}},
Conditions: []metav1.Condition{{
Type: string(v1beta1.RouteConditionAccepted),
Type: string(v1beta1.ListenerConditionAccepted),
Status: metav1.ConditionTrue,
Reason: "", //any reason
}},
Expand Down

1 comment on commit 26080e9

@robscott
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider this a retroactive LGTM + Approve, thanks for catching this @shaneutt!

Please sign in to comment.