remove 'name'

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-24 03:12:36 +00:00
parent c0b490b4fd
commit d05e73a315
1 changed files with 3 additions and 5 deletions

View File

@ -12,7 +12,6 @@ func CreateSampleEvent() *Event {
e := &Event{
Id: 1234,
Name: "Somekind of Event1",
Email: "test+protobuf@wit.com",
Comment: "this is a sample event",
Type: Event_MIGRATE,
@ -40,7 +39,7 @@ func CreateSampleEvents(total int) []Event {
e := CreateSampleEvent()
e.Id += 1000 + int32(i)
e.Name = "Sample Event " + string(i)
e.Comment = "Sample Event " + string(i)
all = append(all, *e)
}
@ -60,9 +59,8 @@ func DumpEventData(myevent *Event) {
func MakeGetEvent() *Event {
e := &Event{
Id: 1234,
Name: "List all user VMs",
Comment: "List all user VMs",
Email: "test+protobuf@wit.com",
Comment: "this should return a protobuf with all the VM's",
Type: Event_GET,
}
e.Comment ="this should return a protobuf with all the VM's"
@ -72,7 +70,7 @@ func MakeGetEvent() *Event {
func MakeLoginEvent() *Event {
e := &Event{
Id: 1234,
Name: "Login to get a Token",
Comment: "Login to get a Token",
Type: Event_LOGIN,
}
e.Comment ="this should return a protobuf with the token"