Skip to content

Commit 2621093

Browse files
authored
fix: Stop showing resources after coder create (coder#2155)
Fixes coder#1036
1 parent 74fe38e commit 2621093

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

cli/create.go

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -242,19 +242,7 @@ func create() *cobra.Command {
242242
return err
243243
}
244244

245-
resources, err = client.WorkspaceResourcesByBuild(cmd.Context(), workspace.LatestBuild.ID)
246-
if err != nil {
247-
return err
248-
}
249-
250-
err = cliui.WorkspaceResources(cmd.OutOrStdout(), resources, cliui.WorkspaceResourcesOptions{
251-
WorkspaceName: workspaceName,
252-
})
253-
if err != nil {
254-
return err
255-
}
256-
257-
_, _ = fmt.Fprintf(cmd.OutOrStdout(), "The %s workspace has been created!\n", cliui.Styles.Keyword.Render(workspace.Name))
245+
_, _ = fmt.Fprintf(cmd.OutOrStdout(), "\nThe %s workspace has been created!\n", cliui.Styles.Keyword.Render(workspace.Name))
258246
return nil
259247
},
260248
}

0 commit comments

Comments
 (0)