Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Sep 12, 2024
1 parent 51921ee commit c3b9d0e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/manifests/template/kustomize.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ func (k *kustomize) Render(svc *console.GetServiceDeploymentForAgent_ServiceDepl
return fmt.Errorf("templating error in %s: %w", rpath, err)
}
newPath := strings.TrimSuffix(path, ".liquid")
if err := writeFile(newPath, data); err != nil {
return err
}
return nil
return writeFile(newPath, data)
}); err != nil {
return nil, err
}
Expand Down

0 comments on commit c3b9d0e

Please sign in to comment.