Skip to content

Commit

Permalink
Fix definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxxstorm committed May 8, 2020
1 parent 0c941bd commit 36c2a46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/go/kubernetes/helm/v2/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ func parseChart(ctx *pulumi.Context, name string, args chartArgs, opts ...pulumi
}

// Check for helm version
isHelmV3, err: := isHelmV3()
v3, err := isHelmV3()

if err != nil {
return nil, err
}

if isHelmV3 {
helmArgs = append(helmArgs, "include-crds")
if v3 {
helmArgs = append(helmArgs, "--include-crds")
}

helmCmd := exec.Command("helm", helmArgs...)
Expand Down

0 comments on commit 36c2a46

Please sign in to comment.