diff --git a/pkg/api/v1beta1/types.go b/pkg/api/v1beta1/types.go index 77e19b6b9b5..f1321cb8a4f 100644 --- a/pkg/api/v1beta1/types.go +++ b/pkg/api/v1beta1/types.go @@ -825,7 +825,7 @@ type Event struct { // TODO: provide exact specification for format. Source string `json:"source,omitempty" description:"component reporting this event; short machine understandable string"` // Host name on which the event is generated. - Host string `json:"host,omitempty"` + Host string `json:"host,omitempty" description:"host name on which this event was generated"` // The time at which the client recorded the event. (Time of server receipt is in TypeMeta.) Timestamp util.Time `json:"timestamp,omitempty" description:"time at which the client recorded the event"` diff --git a/pkg/api/v1beta2/types.go b/pkg/api/v1beta2/types.go index e8c26dab202..dd7131f1283 100644 --- a/pkg/api/v1beta2/types.go +++ b/pkg/api/v1beta2/types.go @@ -799,7 +799,7 @@ type Event struct { Source string `json:"source,omitempty" description:"component reporting this event; short machine understandable string"` // Host name on which the event is generated. - Host string `json:"host,omitempty"` + Host string `json:"host,omitempty" description:"host name on which this event was generated"` // The time at which the client recorded the event. (Time of server receipt is in TypeMeta.) Timestamp util.Time `json:"timestamp,omitempty" description:"time at which the client recorded the event"`