Skip to content

Commit af43abb

Browse files
author
Ben Reed
committed
Marshal internal event description into protobuf
The internal Event instance's description field was not being marshaled into an Event protobuf. This change marshals it.
1 parent c4e8cd7 commit af43abb

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)