MCPcopy Create free account
hub / github.com/coder/envbuilder / BatchCreateLogs

Method BatchCreateLogs

log/coder_internal_test.go:335–339  ·  view source on GitHub ↗
(ctx context.Context, request *proto.BatchCreateLogsRequest)

Source from the content-addressed store, hash-verified

333}
334
335func (d *fakeLogDest) BatchCreateLogs(ctx context.Context, request *proto.BatchCreateLogsRequest) (*proto.BatchCreateLogsResponse, error) {
336 d.t.Logf("got %d logs, ", len(request.Logs))
337 d.logs = append(d.logs, request.Logs...)
338 return &proto.BatchCreateLogsResponse{}, nil
339}
340
341func testReplaceTimeout(t *testing.T, v *time.Duration, d time.Duration) {
342 t.Helper()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected