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

Commit333d661

Browse files
committed
Fix linting errors and tests
1 parent14ffd6b commit333d661

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎coderd/workspaceagents.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ func (api *API) workspaceAgent(rw http.ResponseWriter, r *http.Request) {
6767

6868
vareg errgroup.Group
6969
eg.Go(func() (errerror) {
70-
dbApps,err=api.Database.GetWorkspaceAppsByAgentID(ctx,workspaceAgent.ID)
70+
// nolint:gocritic // This is a system restricted operation.
71+
dbApps,err=api.Database.GetWorkspaceAppsByAgentID(dbauthz.AsSystemRestricted(ctx),workspaceAgent.ID)
7172
returnerr
7273
})
7374
eg.Go(func() (errerror) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp