Commit d28b51f8 authored by Tim Hockin's avatar Tim Hockin

Document fields, fix presubmit

parent 4e539001
......@@ -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"`
......
......@@ -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"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment