Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Unide envs (create|edit) commands #168

Merged
merged 6 commits into from
Nov 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! Style cleanup
  • Loading branch information
cmoog committed Nov 4, 2020
commit 21a09adc90a3059b805c6ccd2407ba423f53aa3e
6 changes: 3 additions & 3 deletions internal/cmd/ceapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ func findImg(ctx context.Context, client *coder.Client, conf findImgConf) (*code
}

imgs, err := getImgs(ctx, client, getImgsConf{
email: conf.email,
orgName: conf.orgName,
})
email: conf.email,
orgName: conf.orgName,
})
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/envs.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func createEnvCmd(user *string) *cobra.Command {
Long: "Create a new Coder environment.",
Example: `# create a new environment using default resource amounts
coder envs create my-new-env --image ubuntu
coder envs create my-new-powerfull-env --cpu 12 --disk 100 --memory 16 --image ubuntu`,
coder envs create my-new-powerful-env --cpu 12 --disk 100 --memory 16 --image ubuntu`,
RunE: func(cmd *cobra.Command, args []string) error {
ctx := cmd.Context()
if img == "" {
Expand Down