Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Fix listing helm releases if v1 release exists
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrister committed Aug 22, 2019
1 parent 58c211e commit d3f6315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster/kubernetes/resourcekinds.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ func (hr *helmReleaseKind) getWorkloads(ctx context.Context, c *Cluster, namespa
if err := ctx.Err(); err != nil {
return nil, err
}
var names map[string]bool
var workloads []workload
names := make(map[string]bool, 0)
workloads := make([]workload, 0)
if helmReleases, err := c.client.HelmV1().HelmReleases(namespace).List(meta_v1.ListOptions{}); err == nil {
for i, _ := range helmReleases.Items {
workload := makeHelmReleaseStableWorkload(&helmReleases.Items[i])
Expand Down

0 comments on commit d3f6315

Please sign in to comment.