From 2621093452a9df551aad1b8131b17f04943b5be1 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 9 Jun 2022 10:44:41 +0300 Subject: [PATCH] fix: Stop showing resources after `coder create` (#2155) Fixes #1036 --- cli/create.go | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/cli/create.go b/cli/create.go index 0b4f042a95..351e4bb7ee 100644 --- a/cli/create.go +++ b/cli/create.go @@ -242,19 +242,7 @@ func create() *cobra.Command { return err } - resources, err = client.WorkspaceResourcesByBuild(cmd.Context(), workspace.LatestBuild.ID) - if err != nil { - return err - } - - err = cliui.WorkspaceResources(cmd.OutOrStdout(), resources, cliui.WorkspaceResourcesOptions{ - WorkspaceName: workspaceName, - }) - if err != nil { - return err - } - - _, _ = fmt.Fprintf(cmd.OutOrStdout(), "The %s workspace has been created!\n", cliui.Styles.Keyword.Render(workspace.Name)) + _, _ = fmt.Fprintf(cmd.OutOrStdout(), "\nThe %s workspace has been created!\n", cliui.Styles.Keyword.Render(workspace.Name)) return nil }, }