Use uint32 as Event's Status type everywhere

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure
2016-09-19 11:46:33 -07:00
parent 4eb3147efc
commit db9aed5a97
6 changed files with 26 additions and 20 deletions

View File

@@ -186,7 +186,7 @@ type Event struct {
Type string `json:"type"`
Timestamp time.Time `json:"timestamp"`
PID string `json:"pid,omitempty"`
Status int `json:"status,omitempty"`
Status uint32 `json:"status,omitempty"`
}
// Events returns an event channel that external consumers can use to receive updates