Skip to content

Commit

Permalink
fix incorrect comment in runtime ObjectKind interface
Browse files Browse the repository at this point in the history
  • Loading branch information
SataQiu committed Aug 7, 2020
1 parent aa06322 commit beec427
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit beec427

Please sign in to comment.