Skip to content

Commit 7627372

Browse files
committed
add ticket to reference TODO
1 parent 5cba737 commit 7627372

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/autobuild/executor/lifecycle_executor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func (e *Executor) runOnce(t time.Time) error {
145145
}
146146

147147
// TODO(cian): this function duplicates most of api.postWorkspaceBuilds. Refactor.
148+
// See: https://github.com/coder/coder/issues/1401
148149
func build(ctx context.Context, store database.Store, workspace database.Workspace, trans database.WorkspaceTransition, priorHistory database.WorkspaceBuild, priorJob database.ProvisionerJob) error {
149150
template, err := store.GetTemplateByID(ctx, workspace.TemplateID)
150151
if err != nil {

0 commit comments

Comments
 (0)