Skip to content

Commit 5d7a779

Browse files
authored
fix: use getProvisionerJobByIDNoLock (#9484)
1 parent bc9fdd1 commit 5d7a779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbfake/dbfake.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3758,7 +3758,7 @@ func (q *FakeQuerier) GetWorkspacesEligibleForTransition(ctx context.Context, no
37583758
continue
37593759
}
37603760

3761-
template, err := q.GetTemplateByID(ctx, workspace.TemplateID)
3761+
template, err := q.getTemplateByIDNoLock(ctx, workspace.TemplateID)
37623762
if err != nil {
37633763
return nil, xerrors.Errorf("get template by ID: %w", err)
37643764
}

0 commit comments

Comments
 (0)