mirror of
https://github.com/helm/helm.git
synced 2026-08-09 17:39:28 +00:00
Stop multiple error messages in lint results
Have fixed a minor error in the lint action that was causing Error messages from linting chart getting added to the returned results multiple times. Signed-off-by: Thomas O'Donnell <andy.tom@gmail.com>
This commit is contained in:
@@ -73,7 +73,6 @@ func (l *Lint) Run(paths []string, vals map[string]interface{}) *LintResult {
|
||||
for _, msg := range linter.Messages {
|
||||
if msg.Severity == support.ErrorSev {
|
||||
result.Errors = append(result.Errors, msg.Err)
|
||||
result.Messages = append(result.Messages, msg)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user