Skip to content

Commit

Permalink
Update pkg/cluster/meta.go
Browse files Browse the repository at this point in the history
Co-authored-by: Gerard Ryan <[email protected]>
  • Loading branch information
lburgazzoli and grdryn committed Jan 28, 2025
1 parent fb4e13a commit 7151e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func OwnedBy(owner metav1.Object, scheme *runtime.Scheme) MetaOptions {
}
}

func ControllerBy(owner metav1.Object, scheme *runtime.Scheme) MetaOptions {
func ControlledBy(owner metav1.Object, scheme *runtime.Scheme) MetaOptions {
return func(obj metav1.Object) error {
return controllerutil.SetControllerReference(owner, obj, scheme)
}
Expand Down

0 comments on commit 7151e0e

Please sign in to comment.