New 🌊 wave for @helm

Commit b6b2d299

b6b2d299a30fMerged

Svyatoslav Dumchenko <[email protected]> · 4 years ago · 4 files · ~4 modified

Description

fix: linter issues

Details

Commit
b6b2d299a30f
Parent
1dad48b23aa6

pkg/log/log.gomodifiedView file

@@ -12,7 +12,7 @@
1212 "github.com/urfave/cli/v2"
1313 "github.com/werf/logboek"
1414 utilruntime "k8s.io/apimachinery/pkg/util/runtime"
15- klog_v2 "k8s.io/klog/v2"
15+ "k8s.io/klog/v2"
1616 )
1717
1818 // Settings stores configuration for logger.
@@ -79,10 +79,10 @@
7979 }
8080
8181 // https://github.com/werf/werf/blob/main/cmd/werf/common/kubedog.go#L49
82- klog_v2.SetLogger(logrusr.New(log.StandardLogger()))
83- klog_v2.SetOutputBySeverity("INFO", io.Discard)
84- klog_v2.SetOutputBySeverity("WARNING", io.Discard)
85- klog_v2.SetOutputBySeverity("ERROR", io.Discard)
82+ klog.SetLogger(logrusr.New(log.StandardLogger()))
83+ klog.SetOutputBySeverity("INFO", io.Discard)
84+ klog.SetOutputBySeverity("WARNING", io.Discard)
85+ klog.SetOutputBySeverity("ERROR", io.Discard)
8686 // klog.SetOutputBySeverity("FATAL", logboek.DefaultLogger().ErrStream())
8787
8888 if l.width > 0 {