Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: occupyhabit <[email protected]>
  • Loading branch information
occupyhabit committed Dec 6, 2024
1 parent fba226c commit 965b67c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/pro/create_workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type CreateWorkspaceCmd struct {
Instance string
}

// NewListworkspacesCmd creates a new command
// NewCreateWorkspaceCmd creates a new command
func NewCreateWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command {
cmd := &CreateWorkspaceCmd{
GlobalFlags: globalFlags,
Expand Down
2 changes: 1 addition & 1 deletion cmd/pro/list_workspaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type ListWorkspacesCmd struct {
Host string
}

// NewListworkspacesCmd creates a new command
// NewListWorkspacesCmd creates a new command
func NewListWorkspacesCmd(globalFlags *flags.GlobalFlags) *cobra.Command {
cmd := &ListWorkspacesCmd{
GlobalFlags: globalFlags,
Expand Down
2 changes: 1 addition & 1 deletion cmd/pro/update_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type UpdateProviderCmd struct {
Instance string
}

// NewListworkspacesCmd creates a new command
// NewUpdateProviderCmd creates a new command
func NewUpdateProviderCmd(globalFlags *flags.GlobalFlags) *cobra.Command {
cmd := &UpdateProviderCmd{
GlobalFlags: globalFlags,
Expand Down
2 changes: 1 addition & 1 deletion cmd/pro/update_workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type UpdateWorkspaceCmd struct {
Instance string
}

// NewListworkspacesCmd creates a new command
// NewUpdateWorkspaceCmd creates a new command
func NewUpdateWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command {
cmd := &UpdateWorkspaceCmd{
GlobalFlags: globalFlags,
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func printOptions(devPodConfig *config.Config, provider *workspace.ProviderWithO
return nil
}

// mergeOptions merges the static provider options and dynamic options
// MergeDynamicOptions merges the static provider options and dynamic options
func MergeDynamicOptions(options map[string]*types.Option, dynamicOptions config.OptionDefinitions) map[string]*types.Option {
retOptions := map[string]*types.Option{}
for k, option := range options {
Expand Down
2 changes: 1 addition & 1 deletion e2e/framework/server_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
)

// serveAgent will be a simple http file server that will expose our
// ServeAgent will be a simple http file server that will expose our
// freshly compiled devpod binaries to be downloaded as agents.
// useful for non-linux runners
func ServeAgent() {
Expand Down

0 comments on commit 965b67c

Please sign in to comment.