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 537459b commit 5e08ea1Copy full SHA for 5e08ea1
1 file changed
internal/gatewayapi/status/envoyproxy.go
@@ -26,7 +26,8 @@ func UpdateEnvoyProxyStatusAccepted(ep *egv1a1.EnvoyProxy, ancestor *gwapiv1.Par
26
cond := newCondition(string(egv1a1.EnvoyProxyConditionAccepted), status,
27
string(reason), msg, ep.Generation)
28
29
- for _, item := range ep.Status.Ancestors {
+ for i := range ep.Status.Ancestors {
30
+ item := ep.Status.Ancestors[i]
31
if ancestorRefsEqual(&item.AncestorRef, ancestor) {
32
item.Conditions = MergeConditions(item.Conditions, cond)
33
return
0 commit comments