-
Notifications
You must be signed in to change notification settings - Fork 159
Upgrade klog v1 to v2 and fix error wrapping #1084
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
Upgrade klog v1 to v2 and fix error wrapping #1084
Conversation
Hi @sunnylovestiramisu. 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. |
/ok-to-test |
9583d92
to
3683e08
Compare
3683e08
to
f19add5
Compare
/retest |
Verified integration test logs: Pod log: http://shortn/_YyBlskh1D6
|
It looks like the pdcsi driver doesn't have the same
So I think this PR can concentrate on switching to klog v2, but there is more work required to propagate user error codes. |
Will address that in another pr, this is converting klog to klogv2 so we can use %w. A lot of these fmt.Sprintf errors got kloged with %v before reaching this step. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msau42, sunnylovestiramisu 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 |
@sunnylovestiramisu: cannot checkout In response to this:
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. |
/cherry-pick release-1.7 |
@sunnylovestiramisu: #1084 failed to apply on top of branch "release-1.7":
In response to this:
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. |
…k-of-#1084-upstream-release-1.7 Automated cherry pick of #1084: Upgrade klog v1 to v2 and fix error wrapping
What type of PR is this?
/kind bug
What this PR does / why we need it:
Simiar to gcp-filestore-csi-driver/pr/381. In V1 klog.Errorf does not support %w but we need to unwrap the error correctly.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE