MCPcopy Index your code
hub / github.com/coder/coder / getLogs

Method getLogs

agent/boundarylogproxy/proxy_test.go:95–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93}
94
95func (f *fakeReporter) getLogs() []*agentproto.ReportBoundaryLogsRequest {
96 f.mu.Lock()
97 defer f.mu.Unlock()
98 return append([]*agentproto.ReportBoundaryLogsRequest{}, f.logs...)
99}
100
101func TestServer_StartAndClose(t *testing.T) {
102 t.Parallel()

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected