Unverified Commit 5ce95c6e authored by Brian's avatar Brian Committed by GitHub

Merge pull request #4325 from fibonacci1729/issue4323

fix(helm): return when listing with no releases or nil
parents c4cabe03 6767f3cf
......@@ -166,8 +166,11 @@ func (l *listCmd) run() error {
if err != nil {
return prettyError(err)
}
if res == nil {
return nil
}
rels := filterList(res.Releases)
rels := filterList(res.GetReleases())
result := getListResult(rels, res.Next)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment