add more detailed Event_Response

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-11 12:25:19 -07:00
parent 7b70f0feaa
commit 5c89e3eb18
1 changed files with 6 additions and 1 deletions

View File

@ -18,7 +18,12 @@ func CreateSampleEvent() *Event {
Results: []*Event_Response{ Results: []*Event_Response{
{Name: "fooadd", Type: Event_ADD}, {Name: "fooadd", Type: Event_ADD},
{Name: "foodelete", Type: Event_DELETE}, {Name: "foodelete", Type: Event_DELETE},
{Name: "foopoweron", Type: Event_POWERON}, {
Name: "foopoweron",
Type: Event_POWERON,
Error: "No error happened",
Id: 54321,
},
}, },
} }