diff --git a/pkg/action/lint.go b/pkg/action/lint.go index adb8ebcab..e71cfe733 100644 --- a/pkg/action/lint.go +++ b/pkg/action/lint.go @@ -82,7 +82,7 @@ func HasWarningsOrErrors(result *LintResult) bool { return true } } - return false + return len(result.Errors) > 0 } func lintChart(path string, vals map[string]interface{}, namespace string, strict bool) (support.Linter, error) {