Commit 964b00d7
964b00d7d940Merged
zhiliaev <[email protected]> · 4 years ago · 4 files · ~4 modified
Description
fix: golint
Details
- Commit
- 964b00d7d940
- Parent
- 6d9b68dc5b2b
pkg/log/log.gomodifiedView file
@@ -2,7 +2,7 @@
22
33
import (44
"fmt"5-
"io/ioutil"5+
"io"66
77
"github.com/bombsimon/logrusr/v2"88
"github.com/helmwave/helmwave/pkg/helper"@@ -78,9 +78,9 @@
7878
logKubernetesClientError,7979
}8080
klog.SetLogger(logrusr.New(log.StandardLogger()))81-
klog.SetOutputBySeverity("INFO", ioutil.Discard)82-
klog.SetOutputBySeverity("WARNING", ioutil.Discard)83-
klog.SetOutputBySeverity("ERROR", ioutil.Discard)81+
klog.SetOutputBySeverity("INFO", io.Discard)82+
klog.SetOutputBySeverity("WARNING", io.Discard)83+
klog.SetOutputBySeverity("ERROR", io.Discard)8484
// klog.SetOutputBySeverity("FATAL", logboek.DefaultLogger().ErrStream())8585
8686
if l.width > 0 {pkg/plan/destroy.gomodifiedView file
Loading diff…
pkg/plan/new.gomodifiedView file
Loading diff…
pkg/plan/rollback.gomodifiedView file
Loading diff…