Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names in comment #1440

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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