Skip to content

Commit c43d10f

Browse files
wangjingcunlizardruss
authored andcommitted
chore: make function comment match function name
Signed-off-by: wangjingcun <[email protected]>
1 parent 21323e7 commit c43d10f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/devspace/context/values/values.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func WithFlagsMap(parent context.Context, flagsMap map[string]string) context.Co
2525
return WithValue(parent, flagsKey, flagsMap)
2626
}
2727

28-
// WithFlags creates a new context with the given flags
28+
// WithCommandFlags creates a new context with the given flags
2929
func WithCommandFlags(parent context.Context, flagSet *flag.FlagSet) context.Context {
3030
flagsMap := map[string]string{}
3131
flagSet.VisitAll(func(f *flag.Flag) {

pkg/devspace/kubectl/testing/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func (c *Client) GetUpgraderWrapper() (http.RoundTripper, kubectl.UpgraderWrappe
138138
return nil, nil, nil
139139
}
140140

141-
// EnsureDefaultNamespace is a fake implementation of function
141+
// EnsureDeployNamespaces is a fake implementation of function
142142
func (c *Client) EnsureDeployNamespaces(ctx context.Context, config *latest.Config, log log.Logger) error {
143143
return nil
144144
}

pkg/util/factory/testing/factory.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type Factory struct {
4242
PluginClient plugin.Interface
4343
}
4444

45-
// NewPluginsManager creates a new plugin manager
45+
// NewPluginManager creates a new plugin manager
4646
func (f *Factory) NewPluginManager(log log.Logger) plugin.Interface {
4747
return f.PluginClient
4848
}

0 commit comments

Comments
 (0)