feat: add agent log streaming and follow provisioner format (#8170)

This commit is contained in:
Mathias Fredriksson
2023-06-28 10:54:13 +02:00
committed by GitHub
parent c0a01ec81c
commit d3c39b60c9
9 changed files with 721 additions and 617 deletions
-1
View File
@@ -91,7 +91,6 @@ func (r *RootCmd) portForward() *clibase.Cmd {
}
err = cliui.Agent(ctx, inv.Stderr, cliui.AgentOptions{
WorkspaceName: workspace.Name,
Fetch: func(ctx context.Context) (codersdk.WorkspaceAgent, error) {
return client.WorkspaceAgent(ctx, workspaceAgent.ID)
},