We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8778aa0 commitdc21a6eCopy full SHA for dc21a6e
codersdk/agentsdk/logs.go
@@ -284,7 +284,7 @@ type LogSender struct {
284
outputLenint
285
}
286
287
-typelogDestinterface {
+typeLogDestinterface {
288
BatchCreateLogs(ctx context.Context,request*proto.BatchCreateLogsRequest) (*proto.BatchCreateLogsResponse,error)
289
290
@@ -360,7 +360,7 @@ var LogLimitExceededError = xerrors.New("Log limit exceeded")
360
// SendLoop sends any pending logs until it hits an error or the context is canceled. It does not
361
// retry as it is expected that a higher layer retries establishing connection to the agent API and
362
// calls SendLoop again.
363
-func (l*LogSender)SendLoop(ctx context.Context,destlogDest)error {
+func (l*LogSender)SendLoop(ctx context.Context,destLogDest)error {
364
l.L.Lock()
365
deferl.L.Unlock()
366
ifl.exceededLogLimit {