Skip to content

Commit ecbaf9f

Browse files
author
Benjamin Reed
authored
Merge pull request #91 from codeblooded/bug/marshal-event-description
Marshal internal event description into protobuf
2 parents c4e8cd7 + af43abb commit ecbaf9f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

testctrl/svc/operations_server.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ func newEventProto(e *types.Event) (eventpb *svcpb.Event, err error) {
107107
return
108108
}
109109
eventpb = &svcpb.Event{
110-
Subject: e.SubjectName,
111-
Kind: e.Kind.Proto(),
112-
Time: time,
110+
Subject: e.SubjectName,
111+
Kind: e.Kind.Proto(),
112+
Description: e.Description,
113+
Time: time,
113114
}
114115
return
115116
}

0 commit comments

Comments
 (0)