mirror of
https://github.com/helm/helm.git
synced 2026-04-15 21:59:50 -04:00
Apply suggestions from code review
Co-authored-by: George Jenkins <gvjenkins@gmail.com> Signed-off-by: Yarden Shoham <git@yardenshoham.com>
This commit is contained in:
parent
f475f3e1fd
commit
ab926212d9
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ func (p *execRender) Run(renderedManifests *bytes.Buffer) (*bytes.Buffer, error)
|
|||
// If the binary returned almost nothing, it's likely that it didn't
|
||||
// successfully render anything
|
||||
if len(bytes.TrimSpace(postRendered.Bytes())) == 0 {
|
||||
return nil, errors.Errorf("post render binary %s did not produce any output %s", p.binaryPath, postRendered.String())
|
||||
return nil, errors.Errorf("post-renderer %q produced empty output", p.binaryPath)
|
||||
}
|
||||
|
||||
return postRendered, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue