Fix output of list action when it is failed

Signed-off-by: Song Shukun <song.shukun@fujitsu.com>
pull/7643/head
Song Shukun 5 years ago
parent 598dc504d6
commit 1ff7202a98

@ -165,6 +165,10 @@ func (l *List) Run() ([]*release.Release, error) {
return true return true
}) })
if err != nil {
return nil, err
}
if results == nil { if results == nil {
return results, nil return results, nil
} }

Loading…
Cancel
Save