mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #93785 from SataQiu/fix-comment-20200807
Fix incorrect comment in runtime ObjectKind interface
This commit is contained in:
commit
0ea3987e53
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user