Skip to content

Commit

Permalink
Rename to Object
Browse files Browse the repository at this point in the history
Signed-off-by: ruromero <rromerom@redhat.com>
  • Loading branch information
ruromero committed May 6, 2020
1 parent 1d05f23 commit ea2e6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/controllerutil/controllerutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit ea2e6b1

Please sign in to comment.