Skip to content

Commit

Permalink
Merge pull request #26 from r-darwish/events-optional
Browse files Browse the repository at this point in the history
Make id and status optional for events
  • Loading branch information
softprops authored Dec 26, 2016
2 parents f019e70 + 5aa39a5 commit 89c99a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ pub struct Exit {
#[derive(Debug, RustcEncodable, RustcDecodable)]
#[allow(non_snake_case)]
pub struct Event {
pub status: String,
pub id: String,
pub status: Option<String>,
pub id: Option<String>,
pub from: Option<String>,
pub time: u64,
pub timeNano: u64,
Expand Down

0 comments on commit 89c99a9

Please sign in to comment.