Cleaned up and fixed: the potentially misleading comments around Event struct

This commit is contained in:
Yashvardhan Kukreja
2020-09-19 07:19:20 +05:30
parent 57e9a41ae3
commit 07d0b4a8bc
7 changed files with 20 additions and 28 deletions

View File

@@ -4568,10 +4568,10 @@ const (
// TODO: Decide whether to store these separately or with the object they apply to.
type Event struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Required. The object that this event is about. Mapped to events.Event.regarding
// The object that this event is about. Mapped to events.Event.regarding
// +optional
InvolvedObject ObjectReference