We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50575e1 commit 8d9157dCopy full SHA for 8d9157d
coderd/provisionerdserver/provisionerdserver.go
@@ -274,7 +274,8 @@ func (s *server) AcquireJobWithCancel(stream proto.DRPCProvisionerDaemon_Acquire
274
// in the database. We need to mark this job as failed so the end user can retry if they want to.
275
now := dbtime.Now()
276
err := s.Database.UpdateProvisionerJobWithCompleteByID(
277
- context.Background(),
+ //nolint:gocritic // Provisionerd has specific authz rules.
278
+ dbauthz.AsProvisionerd(context.Background()),
279
database.UpdateProvisionerJobWithCompleteByIDParams{
280
ID: je.job.ID,
281
CompletedAt: sql.NullTime{
0 commit comments