Skip to content

Commit

Permalink
Removed helm3 boolean passed to TryDownloadHelm method in gitlab_app.
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Tegnér <[email protected]>
  • Loading branch information
Johannestegner authored and alexellis committed Oct 30, 2020
1 parent 204abae commit 0525ad9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/apps/gitlab_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ func MakeInstallGitLab() *cobra.Command {
_ = gitlabApp.MarkFlagRequired("external-ip")

gitlabApp.RunE = func(cmd *cobra.Command, args []string) error {
helm3 := true

namespace, _ := cmd.Flags().GetString("namespace")
userPath, err := config.InitUserDir()

Expand Down Expand Up @@ -101,7 +99,7 @@ func MakeInstallGitLab() *cobra.Command {

_ = os.Setenv("HELM_HOME", path.Join(userPath, ".helm"))

_, err = helm.TryDownloadHelm(userPath, clientArch, clientOS, helm3)
_, err = helm.TryDownloadHelm(userPath, clientArch, clientOS)
if err != nil {
return err
}
Expand Down

0 comments on commit 0525ad9

Please sign in to comment.