yonahd / kor

A Golang Tool to discover unused Kubernetes Resources
MIT License
974 stars 91 forks source link

When user can't list return empty #360

Closed yonahd closed 1 week ago

yonahd commented 2 weeks ago

What this PR does / why we need it?

When user can't list namespaces return empty instead of exiting

PR Checklist

yonahd commented 2 weeks ago

@hagay3 Is this good enough?

codecov-commenter commented 2 weeks ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 44.43%. Comparing base (0e398dd) to head (d7bd103). Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
pkg/filters/options.go 0.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #360 +/- ## ======================================= Coverage 44.43% 44.43% ======================================= Files 61 61 Lines 3241 3241 ======================================= Hits 1440 1440 Misses 1574 1574 Partials 227 227 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.