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 staticcheck failures in test/e2e/windows #83714
fix staticcheck failures in test/e2e/windows #83714
Conversation
Hi @tanjunchen. 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. |
@tanjunchen: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
Thank you! |
cc: @adelina-t |
1 similar comment
cc: @adelina-t |
Looks ok, I'm waiting for a test run to approve |
/lgtm Tests are not affected in any negative way. |
@adelina-t @BCLAU |
/test pull-kubernetes-integration |
@adelina-t any questions?this pr is open too long. |
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 looks good. thank you @tanjunchen !
/lgtm
/priority backlog
pinging hack/windows owners for final approval
cc @michmike @PatrickLang
As mentioned above, from windows tests perspective it's fine by me. |
/approve |
/assign @liggitt |
/approve |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adelina-t, liggitt, PatrickLang, tanjunchen 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 |
/test pull-kubernetes-integration |
1 similar comment
/test pull-kubernetes-integration |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Fix the staticcheck failures for test/e2e/windows
Which issue(s) this PR fixes:
Ref #81657
Special notes for your reviewer:
density.go:79:2: field bgPodsNr is unused (U1000)
density.go:87:2: field cpuLimits is unused (U1000)
density.go:88:2: field memLimits is unused (U1000)
density.go: 100:45: should use make(map[string]metav1.Time) instead (S1019)
density.go:281:2: redundant return statement (S1023)
dns.go:31:7: const dnsTestPodHostName is unused (U1000)
dns.go:32:7: const dnsTestServiceName is unused (U1000)
dns.go:78:13: this value of err is never used (SA4006)
security_context.go:53:6: don't use Yoda conditions (ST1017)
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: