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
@@ -33,7 +33,6 @@ func (mock *mockRunner) Execute(cmd string, args []string, env map[string]string
return mock.output, mock.err
}
// nolint: golint
func MockExecer(logger *zap.SugaredLogger, kubeContext string) *execer {
execer := New("helm", false, logger, kubeContext, &mockRunner{})
return execer