diff --git a/pkg/controller/controllerutil/controllerutil.go b/pkg/controller/controllerutil/controllerutil.go index b62fe22a92..e460eddbe3 100644 --- a/pkg/controller/controllerutil/controllerutil.go +++ b/pkg/controller/controllerutil/controllerutil.go @@ -281,9 +281,9 @@ func RemoveFinalizerWithError(o runtime.Object, finalizer string) error { return nil } -// KubernetesObject allows functions to work indistinctly with any resource that +// Object allows functions to work indistinctly with any resource that // implements both Object interfaces. -type KubernetesObject interface { +type Object interface { metav1.Object runtime.Object }