Function
logOutputs
(ctx context.Context, el EventLog, execID string, start *proto.AgentStart, outputs []*proto.Message)
Source from the content-addressed store, hash-verified
| 195 | } |
| 196 | |
| 197 | func logOutputs(ctx context.Context, el EventLog, execID string, start *proto.AgentStart, outputs []*proto.Message) error { |
| 198 | return el.AppendExec(ctx, &proto.ExecutionEvent{ |
| 199 | Timestamp: timestamppb.Now(), |
| 200 | ExecId: execID, |
| 201 | AgentId: start.AgentId, |
| 202 | Outputs: outputs, |
| 203 | State: proto.State_STATE_PENDING, |
| 204 | }) |
| 205 | } |
Tested by
no test coverage detected