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
fix: #2056 check_windows wrap error properly #88945
fix: #2056 check_windows wrap error properly #88945
Conversation
Welcome @sandyleo26! |
Hi @sandyleo26. Thanks for your PR. I'm waiting for a kubernetes 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. |
@@ -46,7 +46,7 @@ func (ipuc IsPrivilegedUserCheck) Check() (warnings, errorList []error) { | |||
} | |||
} | |||
|
|||
return nil, []error{errors.New("user is not running as administrator")} | |||
return nil, []error{errors.Wrap(err, "user is not running as administrator")} |
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.
this is not valid. only the above 2 errors should be wrapped.
please use rebase and "git push --force" to keep the number of commits to one.
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.
good catch. my bad wasn't paying close attention.
please remove |
/release-note-none |
/priority backlog |
9972975
to
12750ac
Compare
done. ready for another look. thanks |
/ok-to-test |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neolit123, sandyleo26 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 |
/kind cleanup
What this PR does / why we need it:
attaching original error along with message
Which issue(s) this PR fixes:
Fixes kubernetes/kubeadm#2056
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?:
None
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
None