Skip to content

Commit

Permalink
copy addresses
Browse files Browse the repository at this point in the history
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 85a61ab)
  • Loading branch information
arkodg committed Sep 27, 2022
1 parent 0a51731 commit 5bd432b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/provider/kubernetes/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,8 @@ func (r *gatewayReconciler) subscribeAndUpdateStatus(ctx context.Context) {
}
gCopy := g.DeepCopy()
gCopy.Status.Conditions = status.MergeConditions(gCopy.Status.Conditions, val.Status.Conditions...)
if len(val.Status.Listeners) > 0 {
gCopy.Status.Listeners = val.Status.Listeners
}
gCopy.Status.Addresses = val.Status.Addresses
gCopy.Status.Listeners = val.Status.Listeners
return gCopy
}),
})
Expand Down

0 comments on commit 5bd432b

Please sign in to comment.