Skip to content

Commit 68c9223

Browse files
committed
fix a typo
1 parent 4e1e8ed commit 68c9223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/controllerutil/controllerutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func SetOwnerReference(owner, object metav1.Object, scheme *runtime.Scheme) erro
9696
// Validate the owner.
9797
ro, ok := owner.(runtime.Object)
9898
if !ok {
99-
return fmt.Errorf("%T is not a runtime.Object, cannot call SetControllerReference", owner)
99+
return fmt.Errorf("%T is not a runtime.Object, cannot call SetOwnerReference", owner)
100100
}
101101
if err := validateOwner(owner, object); err != nil {
102102
return err

0 commit comments

Comments
 (0)