chore: fix linting issue in main(#12697)

This commit is contained in:
Steven Masley 2024-03-20 20:15:01 -05:00 committed by GitHub
parent f93491ffe8
commit 131d0bd2ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ func (s *ClientService) ServeMultiAgentClient(ctx context.Context, version strin
func ServeWorkspaceProxy(ctx context.Context, conn net.Conn, ma agpl.MultiAgentConn) error {
go func() {
err := forwardNodesToWorkspaceProxy(ctx, conn, ma)
//nolint:staticcheck
if err != nil {
_ = conn.Close()
}