-
Notifications
You must be signed in to change notification settings - Fork 296
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
🌱 Improve logging for vspherevm_controller
& vspherevm_ipaddress_reconciler
#2484
🌱 Improve logging for vspherevm_controller
& vspherevm_ipaddress_reconciler
#2484
Conversation
Hi @adityabhatia. 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. Instructions 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/test-infra repository. |
813af43
to
74be963
Compare
/ok-to-test |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2484 +/- ##
==========================================
+ Coverage 63.67% 63.72% +0.05%
==========================================
Files 123 123
Lines 8773 8758 -15
==========================================
- Hits 5586 5581 -5
+ Misses 2773 2763 -10
Partials 414 414 ☔ View full report in Codecov by Sentry. |
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.
Just a small nit around the naming of the logger.
Thanks for this!
/test pull-cluster-api-provider-vsphere-e2e-full-main |
74be963
to
320ee03
Compare
Now there are only 5 other occurrences left across 3 files in the repo. |
/retest |
320ee03
to
bcbd38a
Compare
bcbd38a
to
7cd707b
Compare
Thank you!! /lgtm merge pending retest after VMC is fixed (I'll hope that is soon :)) |
LGTM label has been added. Git tree hash: 09616ae32adc53ccdcfc7b516a13bd690bee5445
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
@adityabhatia: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions 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/test-infra repository. I understand the commands that are listed here. |
What this PR does / why we need it:
This improves logging in
vspherevm_controller
&vspherevm_ipaddress_reconciler
by using the logger from passed context and removingControllerContext
types.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes # #2076