Skip to content

Commit 2f0540f

Browse files
committed
Update ClusterResourceSetBinding owner references
The ClusterResourceSet owner references were being updated due to a typo. This update was ineffectual, because the ClusterResourceSet object is not patched after the references are updated. However, due to a separate bug in RemoveOwnerRef, the ClusterResourceSetBinding owner references _were_ being updated.
1 parent a943e75 commit 2f0540f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exp/addons/api/v1beta1/clusterresourcesetbinding_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (c *ClusterResourceSetBinding) DeleteBinding(clusterResourceSet *ClusterRes
102102
break
103103
}
104104
}
105-
clusterResourceSet.OwnerReferences = util.RemoveOwnerRef(c.OwnerReferences, metav1.OwnerReference{
105+
c.OwnerReferences = util.RemoveOwnerRef(c.OwnerReferences, metav1.OwnerReference{
106106
APIVersion: clusterResourceSet.APIVersion,
107107
Kind: clusterResourceSet.Kind,
108108
Name: clusterResourceSet.Name,

0 commit comments

Comments
 (0)