✨ Copy all parent context values to leader elector's context#3327
✨ Copy all parent context values to leader elector's context#3327k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
Conversation
|
|
|
Welcome @msudheendra-cflt! |
|
Hi @msudheendra-cflt. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
LGTM label has been added. DetailsGit tree hash: bd42e72033d343c73d419f09b03c2c1ca8c98094 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman, msudheendra-cflt The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The current implementation instantiates a fresh context and passes that along to the leaderElection.Run method which strips any loggers or other context variables. This change preserves the context variables while maintaining the same functionality of passing a fresh context to the leader elector.
Fixes #3326