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

Commitb2f2240

Browse files
committed
fixup! expose magicsock handler on agent endpoint
1 parent9cfddf5 commitb2f2240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎codersdk/workspaceagentconn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ func (c *WorkspaceAgentConn) ListeningPorts(ctx context.Context) (WorkspaceAgent
360360
func (c*WorkspaceAgentConn)DebugMagicsock(ctx context.Context) ([]byte,error) {
361361
ctx,span:=tracing.StartSpan(ctx)
362362
deferspan.End()
363-
res,err:=c.apiRequest(ctx,http.MethodGet,"/debug/magicsock",nil)
363+
res,err:=c.apiRequest(ctx,http.MethodGet,"/api/v0/debug/magicsock",nil)
364364
iferr!=nil {
365365
returnnil,xerrors.Errorf("do request: %w",err)
366366
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp