Skip to content

Commit

Permalink
Update helm3.go
Browse files Browse the repository at this point in the history
  • Loading branch information
MeirP-3 authored Jan 19, 2021
1 parent 3cc34f5 commit 419bb86
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/utils/helm3.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,13 @@ func listReleases(kubeContext, namespace, storage, tillerNamespace, labels strin
}

func getReleaseData(namespace, itemReleaseData string) *releaseData {
data, _ := decodeRelease(itemReleaseData)

data, err := decodeRelease(itemReleaseData)

if err != nil {
return nil
}

if namespace != "" && data.Namespace != namespace {
return nil
}
Expand Down

0 comments on commit 419bb86

Please sign in to comment.