Skip to content

Commit

Permalink
Update helper.go (#4874)
Browse files Browse the repository at this point in the history
go generate fix parameter type for new steps
  • Loading branch information
tiloKo authored Apr 22, 2024
1 parent 077ecfe commit 787176b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/generator/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func {{.StepName}}(config {{ .StepName }}Options, telemetryData *telemetry.Custo
// Error situations should be bubbled up until they reach the line below which will then stop execution
// through the log.Entry().Fatal() call leading to an os.Exit(1) in the end.
err := run{{.StepName | title}}(&config, telemetryData, utils{{ range $notused, $oRes := .OutputResources}}, &{{ index $oRes "name" }}{{ end }})
err := run{{.StepName | title}}(&config, telemetryData, utils{{ range $notused, $oRes := .OutputResources}}, {{ index $oRes "name" }}{{ end }})
if err != nil {
log.Entry().WithError(err).Fatal("step execution failed")
}
Expand Down

0 comments on commit 787176b

Please sign in to comment.