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

Commit

Permalink
Fix the resolving of a single v1 HelmRelease (#2412)
Browse files Browse the repository at this point in the history
Fix the resolving of a single v1 HelmRelease
  • Loading branch information
hiddeco authored Aug 29, 2019
2 parents d7a8401 + 9cd2cf4 commit c86a5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/kubernetes/resourcekinds.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ func (hr *helmReleaseKind) getWorkload(ctx context.Context, c *Cluster, namespac
if err := ctx.Err(); err != nil {
return workload{}, err
}
if helmRelease, err := c.client.HelmV1().HelmReleases(name).Get(name, meta_v1.GetOptions{}); err == nil {
if helmRelease, err := c.client.HelmV1().HelmReleases(namespace).Get(name, meta_v1.GetOptions{}); err == nil {
return makeHelmReleaseStableWorkload(helmRelease), err
}
helmRelease, err := c.client.FluxV1beta1().HelmReleases(namespace).Get(name, meta_v1.GetOptions{})
Expand Down

0 comments on commit c86a5b3

Please sign in to comment.