-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Use Child Logger In Leader Election #2484
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
Conversation
|
|
|
Welcome @sesmi123! |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sesmi123 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
- Replace search() with fullmatch() for strict RFC3339 format validation - Provide clear, actionable error messages with expected format - Add input whitespace stripping before validation - Improve exception handling with specific ValueError messages - Add comprehensive test cases for invalid formats - Addresses reviewer feedback from PR #2420 Test: Existing tests pass + new test cases added
remove log level
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Uses a child logger in leader election module instead of logging to the root logger.
Which issue(s) this PR fixes:
Fixes
Special notes for your reviewer:
It is my first PR. Let me know if I made some mistake. Hopefully, I can make more contributions in the future :)
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: