mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: use getProvisionerJobByIDNoLock (#9484)
This commit is contained in:
@@ -3758,7 +3758,7 @@ func (q *FakeQuerier) GetWorkspacesEligibleForTransition(ctx context.Context, no
|
||||
continue
|
||||
}
|
||||
|
||||
template, err := q.GetTemplateByID(ctx, workspace.TemplateID)
|
||||
template, err := q.getTemplateByIDNoLock(ctx, workspace.TemplateID)
|
||||
if err != nil {
|
||||
return nil, xerrors.Errorf("get template by ID: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user