Skip to content

Commit

Permalink
Fix workspace creation
Browse files Browse the repository at this point in the history
  • Loading branch information
csweichel committed Nov 7, 2023
1 parent cf78ae0 commit 22b88ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/local-app/cmd/workspace-create.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ var workspaceCreateCmd = &cobra.Command{
},
WorkspaceClass: workspaceCreateOpts.WorkspaceClass,
},
// Without this flag we might not create a new workspce because there's already one running on the same commit.
IgnoreRunningWorkspaceOnSameCommit: true,
// Note(cw): the CLI cannot handle running prebuilds yet, so we ignore them for now.
IgnoreRunningPrebuild: true,
AllowUsingPreviousPrebuilds: true,
},
))
if err != nil {
Expand Down

0 comments on commit 22b88ac

Please sign in to comment.