Commit ff6010cb
ff6010cb0399Merged
Svyatoslav Dumchenko <[email protected]> · 5 years ago · 9 files · ~9 modified
Description
gocritic: some simplifications
Details
- Commit
- ff6010cb0399
- Parent
- d5e7d3ad83f1
pkg/helper/helm.gomodifiedView file
@@ -12,7 +12,7 @@
1212
func ActionCfg(ns string, settings *helm.EnvSettings) (*action.Configuration, error) {1313
cfg := new(action.Configuration)1414
helmDriver := os.Getenv("HELM_DRIVER")15-
if len(ns) == 0 {15+
if ns == "" {1616
ns = settings.Namespace()1717
}1818
pkg/kubedog/multitrack.gomodifiedView file
Loading diff…
pkg/plan/diff.gomodifiedView file
Loading diff…
pkg/release/install.gomodifiedView file
Loading diff…
pkg/release/plan.gomodifiedView file
Loading diff…
pkg/repo/install.gomodifiedView file
Loading diff…
pkg/template/extra.gomodifiedView file
Loading diff…
pkg/template/func.gomodifiedView file
Loading diff…
pkg/version/version.gomodifiedView file
Loading diff…