Skip to content

Commit

Permalink
Update internal/provider/kubernetes/predicates.go
Browse files Browse the repository at this point in the history
Co-authored-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Xunzhuo <mixdeers@gmail.com>
  • Loading branch information
Xunzhuo and cnvergence authored Dec 13, 2023
1 parent 37e4734 commit 043e195
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/provider/kubernetes/predicates.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,12 @@ func (r *gatewayAPIReconciler) validateServiceForReconcile(obj client.Object) bo
if !ok {
return false
}
if res != nil && len(res.Gateways) > 0 {
for _, gw := range res.Gateways {
gw := gw
r.statusUpdateForGateway(ctx, gw)
}
}
}
return false
}
Expand Down

0 comments on commit 043e195

Please sign in to comment.