fixes to the sample data

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-26 00:54:30 -07:00
parent d01fe4e1cf
commit 02a6e95d68
1 changed files with 0 additions and 5 deletions

View File

@ -12,7 +12,6 @@ func CreateSampleEvent() *Event {
e := &Event{ e := &Event{
Id: 1234, Id: 1234,
Email: "test+protobuf@wit.com",
Comment: "this is a sample event", Comment: "this is a sample event",
Type: Event_MIGRATE, Type: Event_MIGRATE,
Results: []*Event_Response{ Results: []*Event_Response{
@ -60,7 +59,6 @@ func MakeGetEvent() *Event {
e := &Event{ e := &Event{
Id: 1234, Id: 1234,
Comment: "List all user VMs", Comment: "List all user VMs",
Email: "test+protobuf@wit.com",
Type: Event_GET, Type: Event_GET,
} }
e.Comment ="this should return a protobuf with all the VM's" e.Comment ="this should return a protobuf with all the VM's"
@ -82,7 +80,6 @@ func MakeOkResponse() *Event {
e := &Event{ e := &Event{
Id: 1234, Id: 1234,
Email: "test+protobuf@wit.com",
Comment: "everything is OK", Comment: "everything is OK",
Type: Event_OK, Type: Event_OK,
Results: []*Event_Response{ Results: []*Event_Response{
@ -104,7 +101,6 @@ func MakeFailResponse() *Event {
e := &Event{ e := &Event{
Id: 1234, Id: 1234,
Email: "test+protobuf@wit.com",
Comment: "something failed", Comment: "something failed",
Type: Event_FAIL, Type: Event_FAIL,
Results: []*Event_Response{ Results: []*Event_Response{
@ -126,7 +122,6 @@ func MakeAddVmEvent() *Event {
e := &Event{ e := &Event{
Id: 1234, Id: 1234,
Email: "test+protobuf@wit.com",
Comment: "A Test Create VM Event", Comment: "A Test Create VM Event",
Type: Event_ADD, Type: Event_ADD,
Vms: []*Event_VM{ Vms: []*Event_VM{