Merge pull request #5938 from hickeyma/fix-linter-issues

fix(lint): Style conformance issues
pull/5945/head
Matthew Fisher 5 years ago committed by GitHub
commit cf90b5f9a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -236,7 +236,7 @@ func prepareMockRelease(releaseName string, t *testing.T) (func(n string, v int,
Description: "A Helm chart for Kubernetes",
Version: "0.1.0",
},
Templates: []*chart.File{&chart.File{Name: "templates/configmap.yaml", Data: configmapData}},
Templates: []*chart.File{{Name: "templates/configmap.yaml", Data: configmapData}},
}
chartPath := filepath.Join(tmpChart, cfile.Metadata.Name)
if err := chartutil.SaveDir(cfile, tmpChart); err != nil {

@ -40,11 +40,11 @@ type Upgrade struct {
ChartPathOptions
ValueOptions
Install bool
Devel bool
Namespace string
Timeout time.Duration
Wait bool
Install bool
Devel bool
Namespace string
Timeout time.Duration
Wait bool
DisableHooks bool
DryRun bool
Force bool

Loading…
Cancel
Save