Skip to content

Commit 4aaa0e2

Browse files
committed
fixup! comments
1 parent 214d380 commit 4aaa0e2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

codersdk/workspacesdk/connector.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ func runTailnetAPIConnector(
7878
connected: make(chan error, 1),
7979
closed: make(chan struct{}),
8080
}
81-
conn.SetTunnelDestination(agentID)
81+
// TODO: reenable in upstack pr
82+
// conn.SetTunnelDestination(agentID)
8283
tac.gracefulCtx, tac.cancelGracefulCtx = context.WithCancel(context.Background())
8384
go tac.manageGracefulTimeout()
8485
go tac.run()

codersdk/workspacesdk/workspacesdk.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ func (c *Client) DialAgent(dialCtx context.Context, agentID uuid.UUID, options *
203203
DERPForceWebSockets: connInfo.DERPForceWebSockets,
204204
Logger: options.Logger,
205205
BlockEndpoints: c.client.DisableDirectConnections || options.BlockEndpoints,
206-
// TODO: enable in upstack PR
207-
// ShouldWaitForHandshake: true,
208206
})
209207
if err != nil {
210208
return nil, xerrors.Errorf("create tailnet: %w", err)

0 commit comments

Comments
 (0)