Skip to content

Commit bbd971e

Browse files
authored
Merge pull request #3441 from cloud-native-team/master
📖 : fix function name in comments
2 parents fcecdfb + 8ab9fd2 commit bbd971e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/config/v3/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ func (c *cfg) SetProjectName(name string) error {
126126
return nil
127127
}
128128

129-
// GetLayout implements config.Config
129+
// GetPluginChain implements config.Config
130130
func (c cfg) GetPluginChain() []string {
131131
return c.PluginChain
132132
}
133133

134-
// SetLayout implements config.Config
134+
// SetPluginChain implements config.Config
135135
func (c *cfg) SetPluginChain(pluginChain []string) error {
136136
c.PluginChain = pluginChain
137137
return nil

pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type apiScaffolder struct {
5555
fs machinery.Filesystem
5656
}
5757

58-
// NewAPIScaffolder returns a new Scaffolder for declarative
58+
// NewDeployImageScaffolder returns a new Scaffolder for declarative
5959
// nolint: lll
6060
func NewDeployImageScaffolder(config config.Config, res resource.Resource, image,
6161
command, port, runAsUser string,

0 commit comments

Comments
 (0)