Merge pull request #93785 from SataQiu/fix-comment-20200807

Fix incorrect comment in runtime ObjectKind interface
This commit is contained in:
Kubernetes Prow Robot 2020-09-10 09:33:45 -07:00 committed by GitHub
commit 0ea3987e53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}