Skip to content

Commit

Permalink
fix function name in comments
Browse files Browse the repository at this point in the history
Signed-off-by: cui fliter <imcusg@gmail.com>
  • Loading branch information
cuishuang committed Jun 6, 2023
1 parent 40ec611 commit 8ab9fd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/config/v3/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ func (c *cfg) SetProjectName(name string) error {
return nil
}

// GetLayout implements config.Config
// GetPluginChain implements config.Config
func (c cfg) GetPluginChain() []string {
return c.PluginChain
}

// SetLayout implements config.Config
// SetPluginChain implements config.Config
func (c *cfg) SetPluginChain(pluginChain []string) error {
c.PluginChain = pluginChain
return nil
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type apiScaffolder struct {
fs machinery.Filesystem
}

// NewAPIScaffolder returns a new Scaffolder for declarative
// NewDeployImageScaffolder returns a new Scaffolder for declarative
// nolint: lll
func NewDeployImageScaffolder(config config.Config, res resource.Resource, image,
command, port, runAsUser string,
Expand Down

0 comments on commit 8ab9fd2

Please sign in to comment.