Fix a case where the watchers (istio/kafka) tried to access logs of non-running pods
Testing
Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.
Also include details of the environment this PR was developed in (language/platform/browser version).
[ ] This change adds test coverage for new/changed/fixed functionality
Checklist
[ ] I have added documentation for new/changed functionality in this PR and in github.com/otterize/docs
Description
Fix a case where the watchers (istio/kafka) tried to access logs of non-running pods
Testing
Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.
Also include details of the environment this PR was developed in (language/platform/browser version).
Checklist