Skip to content

Commit a6a81e8

Browse files
committed
Comments + import fixes
1 parent bb4432e commit a6a81e8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

cli/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ PromptParamLoop:
272272

273273
err = cliui.WorkspaceResources(cmd.OutOrStdout(), resources, cliui.WorkspaceResourcesOptions{
274274
WorkspaceName: args.NewWorkspaceName,
275-
// Since agent's haven't connected yet, hiding this makes more sense.
275+
// Since agents haven't connected yet, hiding this makes more sense.
276276
HideAgentState: true,
277277
Title: "Workspace Preview",
278278
})

cli/update.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/coder/coder/cli/cliflag"
8-
97
"github.com/spf13/cobra"
108

9+
"github.com/coder/coder/cli/cliflag"
1110
"github.com/coder/coder/codersdk"
1211
)
1312

codersdk/workspaces.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ type CreateWorkspaceBuildRequest struct {
3838
DryRun bool `json:"dry_run,omitempty"`
3939
ProvisionerState []byte `json:"state,omitempty"`
4040
// ParameterValues are optional. It will write params to the 'workspace' scope.
41+
// This will overwrite any existing parameters with the same name.
42+
// This will not delete old params not included in this list.
4143
ParameterValues []CreateParameterRequest `json:"parameter_values,omitempty"`
4244
}
4345

0 commit comments

Comments
 (0)