Merge pull request #710 from technosophos/fix/helm-repo-list-error

fix(helm): change helm repo list to return error when empty
pull/714/head
Matt Butcher 8 years ago
commit df4dc3e1ee

@ -65,8 +65,7 @@ func runRepoList(cmd *cobra.Command, args []string) error {
return err
}
if len(f.Repositories) == 0 {
fmt.Println("No repositories to show")
return nil
return errors.New("no repositories to show")
}
table := uitable.New()
table.MaxColWidth = 50

Loading…
Cancel
Save