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

Commit934a222

Browse files
committed
update cap net admin comment
1 parent780483b commit934a222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎agent/agentcontainers/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ func (api *API) injectSubAgentIntoContainerLocked(ctx context.Context, dc coders
10341034
}
10351035

10361036
// Attempt to add CAP_NET_ADMIN to the binary to improve network
1037-
// performance (optional, allow to fail).
1037+
// performance (optional, allow to fail). See `bootstrap_linux.sh`.
10381038
if_,err:=api.ccli.ExecAs(ctx,container.ID,"root","setcap","cap_net_admin+ep",coderPathInsideContainer);err!=nil {
10391039
logger.Warn(ctx,"set CAP_NET_ADMIN on agent binary failed",slog.Error(err))
10401040
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp