Skip to content

Commit 2621093

Browse files
authored
fix: Stop showing resources after coder create (#2155)
Fixes #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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy