fix quiet lint does not fail on non-linting errors

Signed-off-by: Joe Julian <me@joejulian.name>
pull/11973/head
Joe Julian 2 years ago
parent f13fa07793
commit 853c18002f
No known key found for this signature in database
GPG Key ID: FAB12BE0575D999B

@ -82,7 +82,7 @@ func HasWarningsOrErrors(result *LintResult) bool {
return true return true
} }
} }
return false return len(result.Errors) > 0
} }
func lintChart(path string, vals map[string]interface{}, namespace string, strict bool) (support.Linter, error) { func lintChart(path string, vals map[string]interface{}, namespace string, strict bool) (support.Linter, error) {

Loading…
Cancel
Save