optimize lint logic (#586)

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero
2022-12-18 08:39:45 +08:00
committed by GitHub
parent 9cc0cff07f
commit 36c91c5427
11 changed files with 34 additions and 68 deletions
-1
View File
@@ -113,7 +113,6 @@ func redactedURL(chart string) string {
}
// New for running helm commands
// nolint: golint
func New(helmBinary string, enableLiveOutput bool, logger *zap.SugaredLogger, kubeContext string, runner Runner) *execer {
// TODO: proper error handling
version, err := GetHelmVersion(helmBinary, runner)