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

Commitd2626b5

Browse files
committed
fixup
1 parent3b473bc commitd2626b5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎codersdk/workspacesdk/connector.go‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ type tailnetConn interface {
3838
//
3939
// 1) run the Coordinate API and pass node information back and forth
4040
// 2) stream DERPMap updates and program the Conn
41+
// 3) Send network telemetry events
4142
//
4243
// These functions share the same websocket, and so are combined here so that if we hit a problem
4344
// we tear the whole thing down and start over with a new websocket.
@@ -58,7 +59,6 @@ type tailnetAPIConnector struct {
5859
coordinateURLstring
5960
dialOptions*websocket.DialOptions
6061
conntailnetConn
61-
customDialFnfunc() (proto.DRPCTailnetClient,error)
6262

6363
clientMu sync.RWMutex
6464
client proto.DRPCTailnetClient
@@ -125,10 +125,6 @@ var permanentErrorStatuses = []int{
125125
}
126126

127127
func (tac*tailnetAPIConnector)dial() (proto.DRPCTailnetClient,error) {
128-
iftac.customDialFn!=nil {
129-
returntac.customDialFn()
130-
}
131-
132128
tac.logger.Debug(tac.ctx,"dialing Coder tailnet v2+ API")
133129
// nolint:bodyclose
134130
ws,res,err:=websocket.Dial(tac.ctx,tac.coordinateURL,tac.dialOptions)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp