-
Couldn't load subscription status.
- Fork 3.4k
Only warn about DockerContainer log paths when configured #27096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideRefine DockerContainer behavior to avoid spurious warnings when no log paths are configured and remove an unnecessary null check in the log-path exposure method. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes spurious warnings from DockerContainer in product tests by only emitting log path warnings when log paths are actually configured. The changes ensure that the absence of log files is only reported when logs were expected to be present.
Key Changes:
- Removed unnecessary null check that prevented proper log path configuration
- Modified warning condition to only trigger when log paths are configured but files are missing
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix spurious warnings from
DockerContainerin product tests when log paths are not configured.Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
Summary by Sourcery
Refine DockerContainer log handling to suppress unnecessary warnings and clean up outdated null checks.
Bug Fixes:
Enhancements: