From e5668f54fe1fa91bd4728bec34e41c7be364091d Mon Sep 17 00:00:00 2001 From: Thomas O'Donnell Date: Tue, 27 Aug 2019 19:14:26 +0200 Subject: [PATCH] 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 --- pkg/action/lint.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/action/lint.go b/pkg/action/lint.go index f9c0c613f..c8fa4061d 100644 --- a/pkg/action/lint.go +++ b/pkg/action/lint.go @@ -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) } } }