Skip to content

Commit c38c1fd

Browse files
tnthorntonturkenh
authored andcommitted
UPSTREAM: <carry>: logicalcluster paramerter rename
Signed-off-by: tnthornton <2375126+tnthornton@users.noreply.github.com>
1 parent 2265f01 commit c38c1fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/handler/enqueue_owner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (e *enqueueRequestForOwner[object]) getOwnerReconcileRequest(obj metav1.Obj
184184
if ref.Kind == e.groupKind.Kind && refGV.Group == e.groupKind.Group {
185185
// Match found - add a Request for the object referred to in the OwnerReference
186186
request := reconcile.Request{
187-
ClusterName: logicalcluster.From(object).String(),
187+
ClusterName: logicalcluster.From(obj).String(),
188188
NamespacedName: types.NamespacedName{
189189
Name: ref.Name,
190190
},

0 commit comments

Comments
 (0)