We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f770dcb commit 7b3c83bCopy full SHA for 7b3c83b
pkg/controller/controllerutil/controllerutil.go
@@ -56,7 +56,7 @@ func newAlreadyOwnedError(Object metav1.Object, Owner metav1.OwnerReference) *Al
56
func SetControllerReference(owner, object metav1.Object, scheme *runtime.Scheme) error {
57
ro, ok := owner.(runtime.Object)
58
if !ok {
59
- return fmt.Errorf("is not a %T a runtime.Object, cannot call SetControllerReference", owner)
+ return fmt.Errorf("%T is not a runtime.Object, cannot call SetControllerReference", owner)
60
}
61
62
gvk, err := apiutil.GVKForObject(ro, scheme)
0 commit comments