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

Commitbd6ad88

Browse files
authored
chore: nolint always return error function (#12701)
1 parentb4492ff commitbd6ad88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎enterprise/tailnet/workspaceproxy.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ func (s *ClientService) ServeMultiAgentClient(ctx context.Context, version strin
6767

6868
funcServeWorkspaceProxy(ctx context.Context,conn net.Conn,ma agpl.MultiAgentConn)error {
6969
gofunc() {
70+
//nolint:staticcheck
7071
err:=forwardNodesToWorkspaceProxy(ctx,conn,ma)
7172
//nolint:staticcheck
7273
iferr!=nil {
@@ -112,6 +113,10 @@ func ServeWorkspaceProxy(ctx context.Context, conn net.Conn, ma agpl.MultiAgentC
112113
}
113114
}
114115

116+
// Linter fails because this function always returns an error. This function blocks
117+
// until it errors, so this is ok.
118+
//
119+
//nolint:staticcheck
115120
funcforwardNodesToWorkspaceProxy(ctx context.Context,conn net.Conn,ma agpl.MultiAgentConn)error {
116121
varlastData []byte
117122
for {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp