mirror of
https://github.com/helm/helm.git
synced 2026-08-08 00:51:55 +00:00
Fix output of list action when it is failed
Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
This commit is contained in:
@@ -165,6 +165,10 @@ func (l *List) Run() ([]*release.Release, error) {
|
||||
return true
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if results == nil {
|
||||
return results, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user