Sitelet https://github.com/helm/helm/commit/f6211ba49bfbf5768ea44be3a1402869a4709b37
Skip to content

Commit f6211ba

Browse files
kyokupingscottrigby
authored andcommitted
chore: fix lint
Signed-off-by: Jeaeun Kim <me@kyoku.dev> (cherry picked from commit 99baa2e)
1 parent 3507ea5 commit f6211ba

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎pkg/cmd/template.go‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,8 @@ func newTemplateCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
191191
if savedErr != nil && settings.Debug {
192192
// assume the manifest itself is too malformed to be rendered
193193
return savedErr
194-
} else {
195-
return fmt.Errorf("could not find template %s in chart", f)
196194
}
195+
return fmt.Errorf("could not find template %s in chart", f)
197196
}
198197
}
199198
for _, m := range manifestsToRender {

0 commit comments

Comments
 (0)