You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
condition=NewPolicyCondition(policy.Generation, false, fmt.Sprintf("SectionName %s not found in Service %s/%s", *sectionName, service.Namespace, service.Name))
63
-
goto record_status
63
+
ifok:=SetAncestors(&policy.Status, tctx.ParentRefs, condition); ok {
condition=NewPolicyConflictCondition(policy.Generation, fmt.Sprintf("Unable to target Service %s/%s, because it conflicts with another BackendTrafficPolicy", service.Namespace, service.Name))
67
-
goto record_status
69
+
ifok:=SetAncestors(&policy.Status, tctx.ParentRefs, condition); ok {
70
+
updated=true
71
+
}
68
72
}
69
73
conflicts[key.String()] =policy
70
-
record_status:
71
-
ifok:=SetAncestors(&policy.Status, tctx.ParentRefs, condition); ok {
0 commit comments