From beec427130ce2b8a9af3eafdb7d6b216aac8c6cd Mon Sep 17 00:00:00 2001 From: SataQiu <1527062125@qq.com> Date: Fri, 7 Aug 2020 22:45:22 +0800 Subject: [PATCH] fix incorrect comment in runtime ObjectKind interface --- .../src/k8s.io/apimachinery/pkg/runtime/schema/interfaces.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/schema/interfaces.go b/staging/src/k8s.io/apimachinery/pkg/runtime/schema/interfaces.go index b5706684587..f04453fb014 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/schema/interfaces.go +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/schema/interfaces.go @@ -23,8 +23,8 @@ type ObjectKind interface { // SetGroupVersionKind sets or clears the intended serialized kind of an object. Passing kind nil // should clear the current setting. SetGroupVersionKind(kind GroupVersionKind) - // GroupVersionKind returns the stored group, version, and kind of an object, or nil if the object does - // not expose or provide these fields. + // GroupVersionKind returns the stored group, version, and kind of an object, or an empty struct + // if the object does not expose or provide these fields. GroupVersionKind() GroupVersionKind }