Skip to content

Commit

Permalink
fix: correctly check if chart is installed based on status
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Aug 30, 2023
1 parent ed66795 commit 384d330
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/helm/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ func (c *ActionableChart) isInstalled() bool {
rel := h[0]
st := rel.Info.Status

return !(st == release.StatusUninstalled || st == release.StatusFailed)
return st != release.StatusUninstalled

}

func (c *ActionableChart) Apply(
Expand Down

0 comments on commit 384d330

Please sign in to comment.