Skip to content

Commit

Permalink
Merge branch 'main' into release-please--branches--main
Browse files Browse the repository at this point in the history
  • Loading branch information
Zebradil authored May 12, 2024
2 parents b1151de + f8767e2 commit d9dffa4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/myks/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ type YamlTemplatingTool interface {
}

func (a *Application) RenderAndSlice(yamlTemplatingTools []YamlTemplatingTool) error {
var lastStepOutputFile string
var err error
if lastStepOutputFile, err = a.Render(yamlTemplatingTools); err != nil {
lastStepOutputFile, err := a.Render(yamlTemplatingTools)
if err != nil {
log.Error().Str("env", a.e.Id).Err(err).Msg("Failed to render")
return err
}
Expand Down

0 comments on commit d9dffa4

Please sign in to comment.