Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc21a6e

Browse files
committed
feat(codersdk/agentsdk): export LogDest interface
Signed-off-by: Cian Johnston <cian@coder.com>
1 parent8778aa0 commitdc21a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎codersdk/agentsdk/logs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ type LogSender struct {
284284
outputLenint
285285
}
286286

287-
typelogDestinterface {
287+
typeLogDestinterface {
288288
BatchCreateLogs(ctx context.Context,request*proto.BatchCreateLogsRequest) (*proto.BatchCreateLogsResponse,error)
289289
}
290290

@@ -360,7 +360,7 @@ var LogLimitExceededError = xerrors.New("Log limit exceeded")
360360
// SendLoop sends any pending logs until it hits an error or the context is canceled. It does not
361361
// retry as it is expected that a higher layer retries establishing connection to the agent API and
362362
// calls SendLoop again.
363-
func (l*LogSender)SendLoop(ctx context.Context,destlogDest)error {
363+
func (l*LogSender)SendLoop(ctx context.Context,destLogDest)error {
364364
l.L.Lock()
365365
deferl.L.Unlock()
366366
ifl.exceededLogLimit {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp