diff --git a/cmd/helm/upgrade_test.go b/cmd/helm/upgrade_test.go index 6c6165c3f..e1115f174 100644 --- a/cmd/helm/upgrade_test.go +++ b/cmd/helm/upgrade_test.go @@ -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 { diff --git a/pkg/action/upgrade.go b/pkg/action/upgrade.go index 3a755b38c..ecf9883e0 100644 --- a/pkg/action/upgrade.go +++ b/pkg/action/upgrade.go @@ -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