Skip to content

Commit f1d3279

Browse files
committed
lint
1 parent 7721b2d commit f1d3279

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/workspaceagents_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@ func TestWorkspaceAgentReportStats(t *testing.T) {
909909
newWorkspace, err := client.Workspace(context.Background(), r.Workspace.ID)
910910
require.NoError(t, err)
911911

912+
// nolint:gocritic // using db directly over creating a delete job
912913
err = db.UpdateWorkspaceDeletedByID(dbauthz.AsSystemRestricted(context.Background()), database.UpdateWorkspaceDeletedByIDParams{
913914
ID: newWorkspace.ID,
914915
Deleted: true,

0 commit comments

Comments
 (0)