Skip to content

Commit

Permalink
tmp01
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Nov 24, 2023
1 parent a81859e commit 409a2a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/ratelimitpolicy_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ var _ = Describe("RateLimitPolicy controller", func() {
})

Context("RLP targeting Gateway", func() {
It("Creates all the resources for a basic Gateway and RateLimitPolicy", func() {
FIt("Creates all the resources for a basic Gateway and RateLimitPolicy", func() {
// create httproute
httpRoute := testBuildBasicHttpRoute(routeName, gwName, testNamespace, []string{"*.example.com"})
err := k8sClient.Create(context.Background(), httpRoute)
Expand Down
1 change: 1 addition & 0 deletions pkg/reconcilers/targetref_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (r *TargetRefReconciler) FetchAcceptedGatewayHTTPRoutes(ctx context.Context
((p.ParentRef.Namespace == nil && route.GetNamespace() == gwKey.Namespace) || string(*p.ParentRef.Namespace) == gwKey.Namespace) &&
string(p.ParentRef.Name) == gwKey.Name
})
logger.V(1).Info("route info ", "httproute", client.ObjectKeyFromObject(&route), "parentStatus found", found)
if found && meta.IsStatusConditionTrue(routeParentStatus.Conditions, "Accepted") {
logger.V(1).Info("found route attached to gateway", "httproute", client.ObjectKeyFromObject(&route))
routes = append(routes, route)
Expand Down

0 comments on commit 409a2a4

Please sign in to comment.