fix incorrect comment in runtime ObjectKind interface

This commit is contained in:
SataQiu 2020-08-07 22:45:22 +08:00
parent aa0632208e
commit beec427130

View File

@ -23,8 +23,8 @@ type ObjectKind interface {
// SetGroupVersionKind sets or clears the intended serialized kind of an object. Passing kind nil // SetGroupVersionKind sets or clears the intended serialized kind of an object. Passing kind nil
// should clear the current setting. // should clear the current setting.
SetGroupVersionKind(kind GroupVersionKind) SetGroupVersionKind(kind GroupVersionKind)
// GroupVersionKind returns the stored group, version, and kind of an object, or nil if the object does // GroupVersionKind returns the stored group, version, and kind of an object, or an empty struct
// not expose or provide these fields. // if the object does not expose or provide these fields.
GroupVersionKind() GroupVersionKind GroupVersionKind() GroupVersionKind
} }