File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ type LogSender struct {
284
284
outputLen int
285
285
}
286
286
287
- type logDest interface {
287
+ type LogDest interface {
288
288
BatchCreateLogs (ctx context.Context , request * proto.BatchCreateLogsRequest ) (* proto.BatchCreateLogsResponse , error )
289
289
}
290
290
@@ -360,7 +360,7 @@ var LogLimitExceededError = xerrors.New("Log limit exceeded")
360
360
// SendLoop sends any pending logs until it hits an error or the context is canceled. It does not
361
361
// retry as it is expected that a higher layer retries establishing connection to the agent API and
362
362
// calls SendLoop again.
363
- func (l * LogSender ) SendLoop (ctx context.Context , dest logDest ) error {
363
+ func (l * LogSender ) SendLoop (ctx context.Context , dest LogDest ) error {
364
364
l .L .Lock ()
365
365
defer l .L .Unlock ()
366
366
if l .exceededLogLimit {
You can’t perform that action at this time.
0 commit comments