From ea2e6b128e63d45f78bb8408fbef676efe5c6678 Mon Sep 17 00:00:00 2001 From: ruromero Date: Wed, 6 May 2020 14:56:46 +0200 Subject: [PATCH] Rename to Object Signed-off-by: ruromero --- pkg/controller/controllerutil/controllerutil.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }