feat: Add history middleware parameters (#129)

These will be used for streaming logs, checking status,
and other operations related to workspace and project
history.
This commit is contained in:
Kyle Carberry
2022-02-01 22:10:11 +00:00
committed by GitHub
parent 78e652a268
commit c5f1a3750f
9 changed files with 455 additions and 4 deletions
+1
View File
@@ -679,6 +679,7 @@ func (q *fakeQuerier) InsertWorkspaceHistory(_ context.Context, arg database.Ins
Transition: arg.Transition,
Initiator: arg.Initiator,
ProvisionJobID: arg.ProvisionJobID,
ProvisionerState: arg.ProvisionerState,
}
q.workspaceHistory = append(q.workspaceHistory, workspaceHistory)
return workspaceHistory, nil